Change the style of the DOS prompt (C:\)
1 January 2000 by Snakefoot | Comment » | Trackback OffThe prompt is usually specified in AUTOEXEC.BAT and the standard prompt "c:\>" is :
With these characters one can create an individual prompt:
prompt $p$g
|
|
If one loads ANSI.SYS in the CONFIG.SYS then the prompt is also capable of changing colors by using escape sequences "$e[" (Here Bright Red and Green).prompt time is: $t$_date is: $d$_path is: $p$g
prompt $e[1;31;40m$p$g$e[1;32;40m
More Info MS KB Q83064
More Info MS KB Q135484 (Escape Sequences & Color Codes etc.)
Updated: 24 September 2007