home *** CD-ROM | disk | FTP | other *** search
- SAMPLE command and result | Comments about the output
-
- PROMPT $v$_Disk$q$n: This example changes the DOS prompt to the DOS
- version number, then goes to the next line and
- MS-DOS Version 3.31 displays the default drive letter with a colon.
- Disk=C:
-
-
- PROMPT The command PROMPT without any options resets
- C> the DOS prompt to the default, $n$g.
-
- PROMPT $e[2J$p This example will clear the screen and print
- the current directory at the top of the screen
- after every command. This is not very useful.
-
- PROMPT $e[0;59;"HELP";13p This example will reassign the F1 key to act
- as though HELP had been entered, and then the
- Enter, Return, or <──┘ key had been pressed.
-
- PROMPT $e[21;27p This example will reassign the Ctrl-U key to
- act as though the Esc key had been pressed.
-
- PROMPT $e[08;0;75p This example will reassign the Ctrl-H key to
- act as though the left cursor (<-) key had been
- pressed.