COMMAND | EXAMPLE(S) |
| SWITCHES | COMMENTS |
|
|
|
|
|
FASTHELP | C:\>FASTHELP |
|
| Lists and briefly describes every command provided with |
|
|
|
| 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 |
|
|
|
|
|
| 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 |
|
|
|
| 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 | C:\>RENAME C:\9700\TEST.* |
| Changes the name of the file or files you specify. Specify the name | |
REN | TESTALL.* |
|
| and location of the file or files to be changed. The last part of the |
| C:\>REN C:\9700\TEST.* TESTALL.* |
| 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 | Here the MORE redirection operator is used to enable us to view | |
| MORE |
|
| 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 | C:\>RMDIR NETWORK |
|
| Deletes or removes a directory. Before the directory can be |
RD | C:\>RD NETWORK |
|
| 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 |
|
|
|
| display only the subdirectories of the directory you are currently in. |
|
|
|
|
|
59 |