Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

DefaultColor

HKCU\Software\Microsoft\Command Processor

Data type

Range

Default value

REG_DWORD

0x0 | 0x1–0xFE

0x0

Description

Specifies a default background color and text color for the command processor window. The value consists of two hexadecimal digits. The first digit specifies the background color; the second digit specifies the text color. The hexadecimal values correspond to colors in the following table.

Hexadecimal value

Color

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

This entry is used only when its value is valid and not 0x0, and when the user has not specified the window color by using the COLOR or /T commands. Values are not valid if the background color and the text color are identical, such as 0x55. If the value of this entry is not valid or is 0x0, and the user has not entered a command to change the color, the command processor uses the colors specified for the console window in which the command processor runs.

Change method

To change the colors of a command window, click the system menu icon in the title bar, and then select either Defaults to change the settings for all instances of that window, or Properties to change the current window only. Click the Colors tab and use the color well options to change the values. This will change the colors for all console windows. To change the colors only for the command windows, you must edit the registry.

Related Entries

DefaultColor in HKLM

ScreenColors

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.