Windows – On the fly text color change in Windows command prompt

command-line-interfacewindows

Does anyone know how to change the color of selection done in command prompt window on the fly? I forgot the key sequence which used to allow that.

I am not talking about changing the color permanently like with color command which changes color of all the text.

For example visit this page: Check Command Prompt Window screenshots

Best Answer

On Windows XP this should do the trick. Download Tweak UI from Microsoft, then:

  1. Start Tweak UI.
  2. Click the "Command Prompt" link.
  3. Check "Enable selection coloring".
  4. Close Tweak UI.

This enables selection coloring on every command-line prompt. You should be able to highlight text, pressing CONTROL-0, CONTROL-1 (or any combination through CONTROL-9) to change the background color of the selected text. For changing the foreground color of the selected text, press ALT-0, ALT-1 (or any combination through ALT-9).