text stringlengths 0 4.23k |
|---|
/? |
Displays help at the command prompt. |
<text> |
Remarks |
The character combinations you can include instead of, or in addition to, one or more character strings in the text parameter: |
Character |
Description |
$q |
= (Equal sign) |
$$ |
$ (Dollar sign) |
$t |
Current time |
$d |
Current date |
$p |
Current drive and path |
$v |
Windows version number |
$n |
Current drive |
$g |
> (Greater than sign) |
$l |
< (Less than sign) |
$b |
| (Pipe symbol) |
$_ |
ENTER-LINEFEED |
$e |
ANSI escape code (code 27) |
$h |
Backspace (to delete a character that has been written to the command line) |
$a |
& (Ampersand) |
$c |
( (Left parenthesis) |
$f |
) (Right parenthesis) |
$s |
Space |
| |
When command extensions are enabled the prompt command supports the following formatting characters: |
Character |
Description |
$+ |
Zero or more plus sign (+) characters, depending on the depth of the pushd directory stack (one character for each level pushed). |
$m |
The remote name associated with the current drive letter or the empty string if current drive is not a network drive. |
If you include the $p character in the text parameter, your disk is read after you enter each command (to determine the current drive and path). This can take extra time, especially for floppy disk drives. |
Examples |
To set a two-line command prompt with the current time and date on the first line and the greater than sign on the next line, type: |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.