Changing Default Colors for Command Prompt

By | 2007-06-20

The value DefaultColor controls the foreground and background colors used in command prompt windows. It has a default value of 0, for 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.

A value of F0, for example, would give black text on a white background, and 1E would yield yellow text on a blue background.

Key: [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
Value Name: DefaultColor
Data Type: REG_DWORD
Data: (0 = default)

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.