How to set different colors for CMD

Setting Different colors in Command Prompt.

Changes the Command Prompt window foreground and background colors for the current session. Used without parameters, color restores the default Command Prompt window foreground and background colors.


Syntax:


       color fb or cmd /t:fb


Parameters:


fb: f denotes the foreground color and b denotes background color .

Value
Color
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
Example:

1.color 03 or cmd /t:03




Comments

Popular posts from this blog

How to use DIR Command

How to Write Your First Batch Script Progarm

How to Set Date Using CMD