0

Pretty easy to do in Bash, but, for the life of me, I cannot find a way to change the prompt (and only the prompt) colors in Windows 7's cmd window.

Note: the solution suggested in the comments seems to be limited with regard to 64-bit systems. It is replacing (extending, to be more precise) the command processor instead of playing within the rules (not necessarily a bad thing, though).

4

2 Answers 2

1

Try this command @reg add "hkcu\software\microsoft\command processor" /v defaultcolor /t reg_dword /d 0xf /f. any color also available from 0x0 to 0xf.

1
  • Thanks and welcome to SU. You solution changes the foreground text color of the command console text. I was looking for specifically changing the color of the command prompt only. +1 for the effort.
    – ysap
    Commented May 31, 2020 at 15:47
0

This question in SO, suggested in the comment to my question has answers that seem to be working on my Win10 machine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .