|
| |
|
K
E
Y |
Common Commands |
INTERNAL |
External |
/SWITCH |
Parameter |
Help text |
AddonTool |
|
Mounted Commands |
.Mount/\Command |
CmdShorthand |
#Constant |
$FUNCTION |
:Procedure |
!GuardNote |
|
Operating Systems |
NT/2K/XP/K3 |
NT Only |
NT/2K |
2K Only |
2K/XP |
XP Only |
XP/K3 |
K3 Only |
2K/XP/K3 |
Related Resources from the NT/2K/XP/K3 Command Library
|
Resource |
|
Short Description |
|
#PROMPT |
|
"$P$G" (or whatever the prompt was set to at Library /init) |
Go straight to !GuardNotes. (updated
2004-07-13)
This is the Mounted Help Text. We also archive the Common Help Text
for NT,
2K, XP
and K3
Description
Changes the Cmd.exe command prompt.
Syntax
Parameters and Switches
|
text |
|
Specifies a new command prompt. |
Examples, Notes and Instructions
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) |
|
$F |
|
) (Right parenthesis) |
|
$G |
|
> (greater-than sign) |
|
$H |
|
Backspace (erases previous character) |
|
$L |
|
< (less-than sign) |
|
$N |
|
Current drive |
|
$P |
|
Current drive and path |
|
$Q |
|
= (equal sign) |
|
$S |
|
(space) |
|
$T |
|
Current time |
|
$V |
|
Windows
NT2000XP version number |
|
$_ |
|
Carriage return and linefeed |
|
$$ |
|
$ (dollar sign) |
If Command Extensions are enabled the PROMPT command supports the following additional formatting characters:
|
$+ |
|
zero or more plus sign (+) characters
depending upon the depth of the PUSHD directory stack, one character for each
level pushed. |
|
$M |
|
Displays the remote name associated with
the current drive letter or the empty string if current drive is not a network drive. |
GuardNotes
Things that are different (by design, by accident or otherwise)
None documented (yet).
|