Changes the command prompt.
prompt [text]
Parameters | |
---|---|
| |
Parameter | Purpose |
| |
none | Resets the command prompt to its default setting. |
[text] | Specifies the text to be displayed as the command prompt. In addition to text, you can also include the following: |
$q equals sign | |
$$ dollar sign |
Parameters (continued) | |
---|---|
| |
Parameter | Purpose |
| |
$t time | |
$d date | |
$p drive and path | |
$v Windows version number | |
$n drive | |
$g greater-than sign | |
$l less-than sign | |
$b pipe | |
$_ Enter-linefeed | |
$e ANSI escape code (code 27) | |
$h Backspace | |
$a & ampersand | |
$c left parenthesis | |
$f right parenthesis | |
$s space | |
$+ Zero or more plus sign (+) characters depending upon the depth of the pushd directory stack | |
$m Remote name associated with the current drive letter |