Thursday, March 13, 2008
changing the DOS background colour
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.CHANGING DOS BACKGROUNDOpen your registry (press win+r and type regedit , hit enter )goto[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]u'll find "DefaultColor"You can replace it's value with a two-digit hexadecimal number, in which the first digit selects a background color and the second a foreground color. The hexadecimal codes are:Hexadecimal value Color0 Black1 Blue2 Green3 Aqua4 Red5 Purple6 Yellow7 White8 Gray9 Light BlueA Light GreenB Light AquaC Light RedD Light PurpleE Light YellowF Bright WhiteA value of F0, for example, would give black text on a white background, and 1E would yield yellow text on a blue background.The change should take effect the next time you open a console window.
Labels:
Tips n Tricks
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment