(Contents)(Previous)(Next)

Setting the Default Color for the Command Processor (Windows NT only)

You can control the default foreground and background color used in the command processor windows. The default value is 0F for a standard white text on a black background. You can replace this value with a two digit hexadecimal number, in which the first digit selects a background color and the second a foreground color. Table 3 shows the hexadecimal values for the 16 standard colors. A value of F0 would give black text on a white background, 02 would use green text on a black background, and 1E would display yellow text on a blue background.

Table 3. Hexadecimal Values for Standard Colors

You can specify what color combination is used as the default colors in the command processor windows by editing the Registry directly. Editing the Registry should be done only by experienced users and with extreme care and the Registry should always be exported or backed up before any changes are made.

4. Start the REGEDT32.EXE program.

5. Go to the key HKEY_CURRENT_USER\Software\Microsoft\Command Processor\DefaultColor

6. Double click the key and set its value to two digit hexadecimal number corresponding to color combination to be used


(Next)