Windows – How to permanently change the Command Prompt in Windows 7

command linewindows 7

I would like to change the prompt to $p$g$_$f permanently, but it resets itself every time I reopen the command window.

How can I get it to stay the same forever?

Best Answer

Create a new environment variable called PROMPT. Set the variable value to the desired prompt.

enter image description here

enter image description here