Say Some Words About This Site


Hello Friends , Knowlegde is Good only if we share it with each other.So i am here to share my knowledge with u people.This site contain all computer related tricks and many more.But try all the tricks at ur own risk , i am not responsible for any damage.

Hope you all Understand the tips and tricks that is mention in this site , if u have any doubt then plz give ur feedback. I try to do my best.

Hope u Enjoy
...

CHAT WINDOW



14 February, 2008

Change The DOS Background Colour...

Change The DOS Background Colour...



The value Default Color 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 BACKGROUND.

Follow These Steps :-

Step1:- Open your registry (press win+r and type regedit , hit enter )

Step2:- Go to >> HKEY_CURRENT_USER\Software\Microsoft\Command Processor

Step3:- U will find "DefaultColor"

Step4:- Color attributes are specified by TWO hex digits .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.

Step5:- The Hexadecimal Value Color Codes are Given Below :-



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





Lets Take An Example:-

A 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.

If no argument is given, this command restores the color to what it was when CMD.EXE started. This value either comes from the

current console window, the /T command line switch or from the DefaultColor registry value.

The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute the COLOR command with a foreground and Background color that are the same.



Regards:-

Manan Saini.

No comments: