APPENDIX C GS-DOS COMMANDS
Rev 1.3 173
173173
173
MD (MKDIR)
The MD command creates a subdirectory in the root directory or a subdirectory. By
using the MKDIR command, a tree-structured file systems can be created. If a drive is
specified, then the directory is created on the specified drive. Otherwise, it is created on
the default drive.
Syntax:
MD [drive:]path
PATH
The PATH command displays or changes the current search path that is used by the
command processor, COMMAND.COM, to locate user programs and batch files. If no
pathlist parameter is specified, then the current path is displayed. If a pathlist parameter
is specified, then the path will be changed to the one specified.
Syntax:
PATH [pathl[;path2][;path3][;...]
PAUSE
The PAUSE command is typically used in batch files to suspend execution of the batch
file, print a message on the screen, and wait for the user to press a key after some action
has been performed. PAUSE displays the following message on the screen before
accepting a keypress from the user, “Strike any key when ready”.
Syntax:
PAUSE
PROMPT
The PROMPT command maintains the PROMPT environment variable that is used by
COMMAND.COM to display something before the user is asked to type-in a command.
The default PROMPT variable is $n$g. This has the effect of showing the current drive
letter followed by a "greater-than" sign:
Syntax:
PROMPT string