Ms Dos Commands
Ms Dos Commands
APPEND(External)
APPEND ;
APPEND [d:]path[;][d:]path[...]
APPEND [/X:on|off][/path:on|off] [/E]
Displays or sets the search path for data files. DOS will search the specified path(s) if the
file is not found in the current path.
ASSIGN(External)
ATTRIB(External)
Sets or displays the read-only, archive, system, and hidden attributes of a file or directory.
BACKUP(External)
Makes a backup copy of one or more files. (In DOS Version 6, this program is stored on
the DOS supplemental disk.)
BREAK(Internal)
BREAK =on|off
Used from the DOS prompt or in a batch file or in the CONFIG.SYS file to set (or
display) whether or not DOS should check for a Ctrl + Break key combination.
BUFFERS(Internal)
BUFFERS=(number),(read-ahead number)
Used in the CONFIG.SYS file to set the number of disk buffers (number) that will be
available for use during data input. Also used to set a value for the number of sectors to
be read in advance (read-ahead) during data input operations.
CALL (Internal)
Calls another batch file and then returns to current batch file to continue.
CHCP (Internal)
CHCP (codepage)
Displays the current code page or changes the code page that DOS will use.
CHDIR (Internal)
CHKDSK (External)
CHOICE (Internal)
Used to provide a prompt so that a user can make a choice while a batch program is
running.
COMMAND (External)
Starts a new version of the DOS command processor (the program that loads the DOS
Internal programs).
COMP (External)
Compares two groups of files to find information that does not match. (See FC
command).
COPY (Internal)
COUNTRY (Internal)
Used in the CONFIG.SYS file to tell DOS to use country-specific text conventions
during processing.
CTTY (Internal)
CTTY (device)
DATE (Internal)
DATE mm-dd-yy
DBLSPACE(External)
DBLSPACE / automount=drives
DBLSPACE /chkdsk [/F] [d:]
DBLSPACE /compress d: [/newdrive=host:] [/reserve=size] [/F]
DBLSPACE /create d: [/newdrive=host:] [/reserve=size] [/size=size]
DBLSPACE /defragment [d:] ]/F]
DBLSPACE /delete d:
DBLSPACE /doubleguard=0|1
DBLSPACE /format d:
DBLSPACE [/info] [d:]
DBLSPACE /list
DBLSPACE /mount[=nnn] host: [/newdrive=d:]
DBLSPACE /ratio[=ratio] [d:] [/all]
DBLSPACE /size[=size] [/reserve=size] d:
DBLSPACE /uncompress d:
DBLSPACE /unmount [d:]
A program available with DOS 6.0 that allows you to compress information on a disk.
DEBUG (External)
DEFRAG (External)
(External)
DELOLDOS [/B]
Deletes all files from previous versions of DOS after a 5.0 or 6.0 installation.
DELTREE (External)
Deletes (erases) a directory including all files and subdirectories that are in it.
DEVICE (Internal)
DEVICE=(driver name)
Used in the CONFIG.SYS file to tell DOS which device driver to load.
DEVICEHIGH (Internal)
DEVICEHIGH=(driver name)
Like DEVICE, DEVICEHIGH is used in the CONFIG.SYS file to tell DOS which device
driver software to use for devices; however, this option is used to install the device driver
into the upper memory area.
DIR(Internal)
DIR [d:][path][filename] [/A:(attributes)] [/O:(order)] [/B][/C][/CH][/L][/S][/P][/W]
Displays directory of files and directories stored on disk.
DISKCOMP (External)
DISKCOPY (External)
DOS (Internal)
DOS=[high|low],[umb|noumb]
Used in the CONFIG.SYS file to specify the memory location for DOS. It is used to load
DOS into the upper memory area and to specify whether or not the upper memory blocks
will be used.
DOSKEY (External)
Loads the Doskey program into memory which can be used to recall DOS commands so
that you can edit them.
DOSSHELL (External)
Initiates the graphic shell program using the specified screen resolution.
DRIVPARM (Internal)
ECHO (Internal)
ECHO on|off
ECHO (message)
Starts the MS-DOS editor, a text editor used to create and edit ASCII text files.
EMM386 (External)
EXE2BIN (External)
EXIT (Internal)
EXIT
EXPAND (External)
FASTHELP (External)
FASTHELP [command][command] /?
FASTOPEN (External)
FASTOPEN d:[=n][/X]
FCBS (Internal)
FCBS=(number)
Used in the CONFIG.SYS file to specify the number of file-control blocks for file
sharing.
FDISK (External)
FDISK [/status]
FILES (Internal)
FILES=(number)
Used in the CONFIG.Sys file to specify the maximum number of files that can be open at
the same time.
FIND
(External)
Finds and reports the location of a specific string of text characters in one or more files.
FOR (Internal)
FORMAT (External)
GOTO (Internal)
GOTO (label)
GRAFTABL (External)
Loads a table of character data into memory (for use with a color/graphics adapter).
GRAPHICS (External)
HELP(External)
HELP [command] [/B][/G][/H][/NOHI]
IF (Internal)
INCLUDE= blockname
Used in the CONFIG.SYS file to allow you to use the commands from one
CONFIG.SYS block within another.
INSTALL (Internal)
INTERLINK (External)
INTERLINK [client[:]=[server][:]]
Connects two computers via parallel or serial ports so that the computers can share disks
and printer ports.
INTERSVR (External)
JOIN (External)
JOIN d: [d:path]
JOIN d: [/D]
Allows access to the directory structure and files of a drive through a directory on a
different drive.
KEYB (External)
LABEL (External)
LASTDRIVE (Internal)
LASTDRIVE=(drive letter)
Used in the CONFIG.SYS file to set the maximum number of drives that can be
accessed.
LOADFIX(Internal)
Ensures that a program is loaded above the first 64K of conventional memory, and runs
the program.
LOADHIGH (Internal)
Loads memory resident application into reserved area of memory (between 640K-1M).
MEM (External)
Displays amount of installed and available memory, including extended, expanded, and
upper memory.
MEMMAKER (External)
Starts the MemMaker program, a program that lets you optimize your computer's
memory.
MENUCOLOR (Internal)
MENUCOLOR=textcolor,[background]
Used in the CONFIG.SYS file to set the colors that will be used by DOS to display text
on the screen.
MENUDEFAULT (Internal)
MENUDEFAULT=blockname, [timeout]
Used in the CONFIG.SYS file to set the startup configuration that will be used by DOS if
no key is pressed within the specified timeout period.
MENUITEM (Internal)
MENUITEM=blockname, [menutext]
Used in the CONFIG.SYS file to create a start-up menu from which you can select a
group of CONFIG.SYS commands to be processed upon reboot.
MIRROR (External)
Saves disk storage information that can be used to recover accidentally erased files.
MKDIR
(MD) (Internal)
MODE n
MODE LPT#[:][n][,][m][,][P][retry]
MODE [n],m[,T]
MODE (displaytype,linetotal)
MODE COMn[:]baud[,][parity][,][databits][,][stopbits][,][retry]
MODE LPT#[:]=COMn [retry]
MODE CON[RATE=(number)][DELAY=(number)]
MODE (device) CODEPAGE PREPARE=(codepage) [d:][path]filename
MODE (device) CODEPAGE PREPARE=(codepage list) [d:][path]filename
MODE (device) CODEPAGE SELECT=(codepage)
MODE (device) CODEPAGE [/STATUS]
MODE (device) CODEPAGE REFRESH
MORE (External)
MORE < (filename or command)
(name)|MORE
MOVE(Internal)
Moves one or more files to the location you specify. Can also be used to rename
directories.
MSAV (External)
MSBACKUP (External)
Used to backup or restore one or more files from one disk to another.
MSCDEX (External)
Used to gain access to CD-ROM drives (new with DOS Version 6).
MSD (External)
MSD [/B][/I]
MSD [/I] [/F[d:][path]filename [/P[d:][path]filename [/S[d:][path]filename
NLSFUNC(External)
NLSFUNC [d:][path]filename
NUMLOCK(Internal)
NUMLOCK=on|off
Used in the CONFIG.SYS file to specify the state of the NumLock key.
PATH (Internal)
PATH;
PATH [d:]path[;][d:]path[...]
Sets or displays directories that will be searched for programs not in the current directory.
PAUSE (Internal)
PAUSE [comment]
POWER (External)
POWER [adv:max|reg|min]|std|off]
Used to turn power management on and off, report the status of power management, and
set levels of power conservation.
PRINT (External)
PROMPT(Internal)
PROMPT [prompt text] [options]
RECOVER (External)
RECOVER [d:][path]filename
RECOVER d:
Resolves sector problems on a file or a disk. (Beginning with DOS Version 6, RECOVER
is no longer available ).
REM (Internal)
REM [comment]
Used in batch files and in the CONFIG.SYS file to insert remarks (that will not be acted
on).
REPLACE (External)
RESTORE(External)
Restores to standard disk storage format files previously stored using the BACKUP
command.
Removes a subdirectory.
SCANDISK (External)
SELECT (External)
Formats a disk and installs country-specific information and keyboard codes (starting
with DOS Version 6, this command is no longer available).
SET (Internal)
SET (string1)=(string2)
Inserts strings into the command environment. The set values can be used later by
programs.
SETVER (External)
Displays the version table and sets the version of DOS that is reported to programs.
SHARE (External)
SHELL (Internal)
SHELL=[d:][path]filename [parameters]
Used in the CONFIG.SYS file to specify the command interpreter that DOS should use.
SHIFT (Internal)
SHIFT
Increases number of replaceable parameters to more than the standard ten for use in batch
files.
SORT (External)
STACKS(Internal)
STACKS=(number),(size
Used in the CONFIG.SYS file to set the number of stack frames and the size of each
stack frame.
SUBMENU (Internal)
SUBMENU=blockname, [menutext]
Used in the CONFIG.SYS file to create a multilevel menu from which you can select
start-up options.
SUBST (External)
SUBST d: d:path
SUBST d: /D
SWITCHES (Internal)
SWITCHES= [/K][/F][/N][/W]
Used in the CONFIG.SYS file to configure DOS in a special way; for example, to tell
DOS to emulate different hardware configurations.
SYS (External)
SYS [source] d:
TIME (Internal)
TIME hh:mm[:ss][.cc][A|P]
Displays current time setting of system clock and provides a way for you to reset the
time.
TREE (External)
TYPE (Internal)
TYPE [d:][path]filename
UNFORMAT(External)
UNFORMAT d: [/J][/L][/test][/partn][/P][/U]
VER(Internal)
VER
VERIFY(Internal)
VERIFY on|off
Turns on the verify mode; the program checks all copying operations to assure that files
are copied correctly.
VOL(Internal)
VOL [d:]
VSAFE(External)
XCOPY (External)