GETTING STARTED

MTSX RSS

 

 

DOS Command

Table 2-3. Some DOS Commands

What it means...

A:

B:

C:

CD\

CD DIRNAME

COPY B:*.* A:

DEL Filename

DEL *.*

DIR

DISKCOPY B: A:

FORMAT A:

MD DIRNAME

PROMPT $P $G

PATH

RD DIRNAME

VER

XCOPY

Go to drive “A.”

Go to drive “B.”

Go to drive “C.”

Return to the Root Directory. CHDIR is the same as CD.

Change directory to the directory named “dirname.” Maximum directory length is 8 characters. cd used alone will display the current working path name.

Makes an identical copy of all files. The *.* means all files within the directory specified. You can also copy files in the same directory giving the file a different name as the second argument to copy command, and you can combine several files into one file or append files. In all cases, the first argument is the source file (the one to copy from) and the last argument is the target file (the one to copy to).

Deletes the filename in the current directory

CAUTION: Files cannot be recovered after executing this command. Delete all files in current directory

Lists the files in the current working directory. You can list files in other directories also by specifying a path name following the command. If you have more files than will fit on the display, you can type DIR/P, which will make DOS pause when the display is full. Pressing any key resumes the listing. DIR/W specifies a wide display (5 columns) of file names.

Copies the contents of the disk in drive B to the disk in drive A. Drives must be of the same size and density. If your drives are not the same size and density, use the same drive name twice, such as DISKCOPY A: A:.

Format an unused, new or old diskette in drive A of the computer so it will accept MS-DOS files.

Makes a new subdirectory called “dirname” of 8 characters or less. You substitute your directory name for the italicized word dirname. MKDIR is the same as MD.

Change the display's prompt to include the current working directory's drive and path name, followed by the “>” sign. This sign is typically seen in the AUTOEXEC.BAT file.

Set a command search path (such as PATH=C:\MRSS\MTSX\ARCHIVE). This tells the computer to search this directory after the working directory when a command is entered. This sign is typically seen in the AUTOEXEC.BAT file.

Remove a subdirectory called “dirname”. Removal of the subdirectory requires that it be empty. Files can be deleted by the DEL command. RMDIR is the same as RD.

Prints MS-DOS version installed on the computer, such as MS-DOS Version 5.0.

Copies files and directories, including all subdirectories. This command uses disk space more efficiently and can speed up file access time.

For further information on these and other commands, consult your MS-DOS User’s Manual.

2-8

68P81074C50

 

 

Page 21
Image 21
Motorola MT2000 manual Some DOS Commands, What it means