|
Here's our Windows NT Tip for.. April 16, 2002
Click Here to see a complete list of all of our previously released Tips!
Command Prompt Commands
Some time ago we published a tip showing how to adjust the command prompt in Windows NT. Several subscribers have requested additional information, so here's a list of prompt
commands.
Command/Result
$A & Ampersand
$B | Pipe
$C ( Open parenthesis
$D Current date
$E Escape code (ASCII code 27)
$F ) Close parenthesis
$G > greater-than sign
$H Backspace (erases previous character)
$L < Less-than sign
$N Current drive
$P Current drive with path
$Q = Equal sign
$S Space
$T Current time
$V Windows NT version number
$_ Carriage return and linefeed
$$ $ Dollar sign
Here's an example of how to use the prompt command. Go to the Command Prompt window and type
prompt $D$S$T$S$V$_$P$G
at the prompt. Now press Enter to produce the command prompt shown here:
Fri 08/22/1997 10:29:46.17 Windows NT Version 4.0
C:\>
|