PROMPT
This command changes the prompt for the command processor.
PROMPT [text]
Parameters
- text
Specifies a new prompt.
Remarks
A prompt can consist both of normal characters and the following codes for special characters or sequences of characters:
Code | Special Character |
---|---|
ampersand (&) | |
$B | pipe (|) |
$C | left parenthesis |
$D | current date |
$E | escape code, ASCII code 27 |
$F | right parenthesis |
$G | greater than sign (>) |
$L | less than sign (<) |
$P | current path |
$Q | equal sign (=) |
$S | space |
$T | Current time |
$_ | Carriage return and line feed |
$$ | Dollar sign ($) |
See Also
Command Processor Commands | Command Processor Shell
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.