Color for the PROMPT (just the PROMPT proper) in cmd.exe and PowerShell?
问题 So in Bash you just configure PS1 to add colors to your prompt. I'm talking about the prompt proper, not the color of the foreground (text) or the background. And it's really easy in Bash and it helps a lot if you need to find your commands in a sea of messy text output. Can you achieve the same for cmd.exe , or as a fallback, for PowerShell? A colored prompt? I don't know if it could be done in the old days before Win32 by loading ANSI.SYS . I think that was just to make the foreground and