Command PROMPT
Function:
Changes the command prompt.
Syntax:
PROMPT [text]
| text | Specifies a new command prompt. |
Prompt can be made up of normal characters and the following special codes :-
| $A | & (ampersand) |
| $B | | (pipe) |
| $C | ( (left parenthesis) |
| $D | Current date |
| $E | Escape code (ASCII code 27), See ANSI Graphics |
| $F | ) (right parenthesis) |
| $G | > (greater-than sign) |
| $H | Backspace (erases previous character) |
| $I | { (left brace) |
| $J | } (right brace) |
| $L | < (less-than sign) |
| $N | Current drive |
| $P | Current drive and path |
| $Q | = (equal sign) |
| $S | (space) |
| $T | Current time |
| $V | Windows version number |
| $Z | Current command line number |
| $$ | $ (dollar sign) |
| $_ | Carriage return and linefeed |
Note:
- Type PROMPT without any parameters to reset the prompt to the default setting.
|