Change look of the command prompt in Windows NT
28 February 2003 by Snakefoot | Comment » | Trackback OffLike one could change the DOS Prompt
one is also able to change the command prompt (cmd.exe) console. Instead of doing it in the AUTOEXEC.BAT
then it is done with an environment variable :
Related Change the color of the command prompt
Related Change the font of the command prompt
Credits regedit.com
Note one can use environment variables like %USERNAME% or %COMPUTERNAME% in the prompt.[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Control \Session Manager\ Environment]
PROMPT = "$P$G"
Note one can change the prompt after starting the cmd. To reset just write PROMPT with no parameters. To see all parameters write PROMPT /?.PROMPT [%computername%] $P$G
Related Change the color of the command prompt
Related Change the font of the command prompt
Credits regedit.com
Tags:
Category:
Updated: 23 September 2007