DISK OPERATING SYSTEM COMMANDS
DOS COMMANDS
COMMAND SUMMARY
Command Name
|
Description
|
ATTRIB
|
Displays or
changes file attributes.
|
BACKUP
|
Backs up one
or more files from one disk to another
|
BREAK
|
Sets or clears extended CTRL+C checking.
|
CD
|
Displays the name of or changes the current
directory.
|
CHKDSK
|
Checks a disk and displays a status report.
|
CLS
|
Clears the screen.
|
COMP
|
Compares the
contents of two files or sets of files.
|
COPY
|
Copies one or more files to another location.
|
CTTY
|
Changes the terminal device used to control
your system.
|
DATE
|
Displays or sets the date.
|
DEL
|
Deletes one
or more files.
|
DIR
|
Displays a list of files and subdirectories
in a directory.
|
DISKCOMP
|
Compares the contents of two floppy disks.
|
DISKCOPY
|
Copies the contents of one floppy disk to
another.
|
DOSKEY
|
Edits command lines, recalls MS‑DOS commands,
and creates macros.
|
DOSSHELL
|
Starts MS‑DOS Shell.
|
ECHO
|
Displays messages, or turns command echoing
on or off.
|
EDIT
|
Starts MS‑DOS
Editor, which creates and changes ASCII files.
|
EDLIN
|
Starts Edlin, a line‑oriented text editor.
|
EMM386
|
Turns on or
off EMM386 expanded memory support.
|
ERASE
|
Deletes one or more files.
|
EXE2BIN
|
Converts .EXE (executable) files to binary
format.
|
EXIT
|
Quits the COMMAND.COM program (command
interpreter).
|
EXPAND
|
Expands one or more compressed files.
|
FC
|
Compares two files or
sets of files, and displays the differences between them.
|
FDISK
|
Configures a
hard disk for use with MS‑DOS
|
FIND
|
Searches for a text string in a file or
files.
|
FORMAT
|
Formats a disk for use with MS‑DOS.
|
GRAPHICS
|
Loads a program that can print graphics
|
HELP
|
Provides Help information for MS‑DOS
commands.
|
KEYB
|
Configures a keyboard for a specific
language.
|
LABEL
|
Creates, changes, or deletes the volume label
of a disk.
|
MD
|
Creates a directory.
|
MEM
|
Displays the
amount of used and free memory in your system.
|
MORE
|
Displays output one screen at a time.
|
NLSFUNC
|
Loads country‑specific information.
|
PATH
|
Displays or sets a search path for executable
files.
|
PRINT
|
Prints a text file while you are using other
MS‑DOS commands.
|
PROMPT
|
Changes the
MS‑DOS command prompt.
|
RD
|
Removes a directory.
|
RECOVER
|
Recovers readable information from a bad or
defective disk.
|
REN
|
Renames a file or files.
|
RESTORE
|
Restores files that were backed up by using
the BACKUP command.
|
SORT
|
Sorts input.
|
SYS
|
Copies MS‑DOS system files and command
interpreter to a disk you specify.
|
TIME
|
Displays or sets the system time.
|
TREE
|
Graphically
displays the directory structure of a drive or path.
|
TYPE
|
Displays the contents of a text file.
|
UNDELETE
|
Recovers files which have been deleted.
|
UNFORMAT
|
Restores a disk erased by the FORMAT command
or restructured by the RECOVER command
|
VER
|
Displays the MS‑DOS version.
|
VERIFY
|
MS‑DOS whether to verify that your files are
written correctly to a disk.
|
VOL
|
Displays
a disk volume label and serial number.
|
XCOPY
|
Copies
files (except hidden and system files) and directory trees.
|
No comments