Change the color of the command prompt
1 January 2001 by Snakefoot | Comment » | Trackback OffIf an old ANSI.SYS color fan then this might bring some joy, as one can colorize the command prompt console by changing the foreground and background color.
Edit the registry and add/update this setting (REG_DWORD):
Note one can also use the program "COLOR" from the command prompt to change the color.
Edit the registry and add/update this setting (REG_DWORD):
Colour codes available:[HKEY_CURRENT_USER \Software \Microsoft \Command Processor] DefaultColor = 0A (Black background with green text)
| Code (Hex) | Color |
|---|---|
| 0 | black |
| 1 | blue |
| 2 | green |
| 3 | cyan |
| 4 | red |
| 5 | magenta |
| 6 | yellow/brown |
| 7 | white |
| 8 | gray |
| 9 | bright blue |
| A | bright green |
| B | bright cyan |
| C | bright red |
| D | bright magenta |
| E | bright yellow |
| F | white |
Note one can also select properties for a shortcut to the cmd.exe, and select "Properties" and change the colors in the fan "Colors".COLOR 0A
Tags:
Category:
Updated: 23 September 2007