Change the MS DOS Prompt Color

September 9, 2007 by Admin  
Filed under Uncategorized


Microsoft Windows have COLOR command to cChanges the MS DOS Prompt window foreground and background colors for the current session. Used without parameters, color restores the default MS DOS Prompt window foreground and background colors.

Syntax
color [fb]

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

Parameters
fb
Sets the foreground f and background g colors. The following tables lists valid hexadecimal digits that you can use as the values for f and g.

Examples
To change the Command Prompt window foreground color to red and background to white, type:

color FC



Other Posts:

Comments

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!





Please copy the string b2Rgr7 to the field below: