Change the colors used by command consoles
The Windows 2000 command console defaults to white text on a
black background. However, you might prefer a different color scheme.
You have two ways to change the colors: through the properties for
the command console or using the
color
command. The former changes the color
scheme for all consoles, and the latter changes it only for the
current console.
Changing color for all consoles
You can change the color scheme for all command consoles by changing the properties for the Command Prompt shortcut:
Click Start → Programs → Accessories, right-click Command Prompt, and choose Properties.
Click the Colors tab.
Use the controls on the Colors page to configure the default colors for all consoles.
Changing color for the current console
In addition to changing color for command consoles globally, you also
can specify colors for the current console only. You do so using the
color
command from the command prompt:
Open a command console.
Type
color
bf
and press Enter, whereb
is the background color andf
is the foreground color. Use the values listed in Table 6-1 forb
andf
.
Table 6-1. Background and foreground color values
b & f color values |
b & f color values |
---|---|
0 = Black |
1 = Blue |
2 = Green |
3 = Aqua |
4 = Red |
5 = Purple |
6 = Yellow |
7 = White |
8 = Gray |
9 = Light Blue |
A = Light Green |
B = Light Aqua |
C = Light Red |
D = Light Purple |
E = Light Yellow |
F = Bright White |
Enter color
without any parameters to switch back to the default color settings. ...
Get Windows 2000 Quick Fixes now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.