| $$ |
Display the dollar sign, $ |
| $_ |
Move to a new line |
| $B |
Display the pipe symbol, | |
| $D |
Display the current system date |
| $E |
ASCII escape character, {ESC} (ASCII code 27) |
| $G |
Display the greater-than symbol, > |
| $H |
Cause the cursor to backspace, erasing the previous character |
| $L |
Display the less-than symbol, < |
| $N |
Display the current logged drive letter |
| $P |
Display the current logged directory path name |
| $Q |
Display the equals symbol, = |
| $T |
Display the current system time |
| $V |
Display the MS-DOS version number message |
| $Xc |
Imbeds the following character "c", verbatim, in the prompt string ("c" is a character, space, comma, or semicolon.) |
| $A |
Display the ampersand symbol, & |
| $C |
Display the left parenthesis symbol, ( |
| $F |
Display the right parenthesis symbol, ) |
| $S |
Display a blank space |
| $V |
Display the Windows version number message |
prompt=$_$d$_$t$h$h$h$_$e[1;37;43mMy Computer$e[44m $p$g
Skip a line and display the date. On the next line, display the time but not the 1/100 seconds. On the third line, display the words, "My Computer" (high white text on yellow background) followed by the current directory path and the > symbol (on blue background).

[ Index | Technical Notes ]
DISCLAIMER
Page author: Dawn Rorvik (rorvikd@evergreen.edu)
Last modified: 05/20/2003
|