C1566M-C (10/05) 59
COMMAND EXAMPLE(S) SWITCHES COMMENTS
FASTHELP C:\>FASTHELP Lists and briefly describes every command provided with MS-DOS.
This list is much less detailed than the list you get using the HELP
command.
C:\>FASTHELP DIR Specifies the name of the command that you wish FASTHELP to
give information about, in this example, DIR.
FORMAT C:\>FORMAT A: Formats a disk for use with MS-DOS.
C:\>FORMAT A:/S /S Transfers system files to the formatted disk. You can boot from the
floppy of a disk formatted using this switch.
HELP C:\>HELP Starts the MS-DOS command reference located on the CC1’s hard
disk.
C:\>HELP DIR Specifies the command whose help topic you want to display, in
this example, DIR.
MD C:\>MD 9700 Creates a directory. The example creates a 9700 directory.
MORE C:\>DIR C:\DOS | MORE Displays one screen of information at a time. Can also be used with
the TYPE command when viewing a long text file. The symbol is
called a redirection operator. On the keyboard, it is located above
the backslash (\) symbol.
PATH Indicates which directories DOS should search for executable files.
By default, DOS searchers just the current directory.
RENAME or
REN
C:\>RENAME C:\9700\TEST.*
TESTALL.*
C:\>REN C:\9700\TEST.* TESTALL.*
Changes the name of the file or files you specify. Specify the name
and location of the file or files to be changed. The last part of the
command specifies the new name. You cannot specify a new drive
or path.
TYPE1 C:\>TYPE C:\9700\TEST.MON Displays the contents of the text file you specify. You must specify a
directory path if the location of the file is in a directory other than
the one you are in.
C:\>TYPE C:\9700\TEST.ALM
MORE
| MORE Here the MORE redirection operator is used to enable us to view
the alarm file (usually quite long) one page at a time.
UNDELETE C:\>UNDELETE C:\9700\TEST.BAT Restores files that were previously deleted using the DEL
command.
C:\>UNDELETE C:\9700\ /LIST /LIST Lists the deleted files that are available to be recovered, but does
not recover any files.
C:\>UNDELETE C:\9700\ /ALL /ALL Recovers deleted files without prompting for confirmation on each
file.
RMDIR or
RD
C:\>RMDIR NETWORK
C:\>RD NETWORK
Deletes or removes a directory. Before the directory can be deleted,
it must contain no files or other subdirectories. The directory must
be completely empty except for the “ . ” and “ . . ” symbols.
VER C:\>VER Displays the current version of DOS on your machine.
TREE C:\> TREE Displays the directory structure of all the directories on your hard
drive if it is issued while in the root directory; otherwise, it will dis-
play only the subdirectories of the directory you are currently in.