Set Default Console Foreground & Background colors for command prompt ?
Syntax: color [attrib]
here attrib specifies the color attributes of console output.
The color attrib is specified by a 2 hex-digit code which first digit represents the background and second digit represents the foreground color.
It will be bit boring if you have continued your work on the same platform. So let us make our work bit interesting while we are working on the command prompt for running out Java or Tasm/Masm programs by changing the foreground and background colors.
This is a simple technique. Lets us finally navigate to our process.
Open your command prompt.
Then type “color fc“
This will display the “text in red” with “bright white background“.
You can make use of lots of other combinations. Just type “help color“.
You can select around 16 different attributes to set your color for the command prompt.
Then arises a million dollar question, how to set it to default screen after doing this. Just type “color” and press “enter” it will restores the color to what it was when the “cmd.exe” was started or else it will appears same a before after closing and restarting the command prompt.
View original article at Chaaps: Set Default Console Foreground & Background colors for command prompt
:lol:to enjoy
Syntax: color [attrib]
here attrib specifies the color attributes of console output.
The color attrib is specified by a 2 hex-digit code which first digit represents the background and second digit represents the foreground color.
It will be bit boring if you have continued your work on the same platform. So let us make our work bit interesting while we are working on the command prompt for running out Java or Tasm/Masm programs by changing the foreground and background colors.
This is a simple technique. Lets us finally navigate to our process.
Open your command prompt.
Then type “color fc“
This will display the “text in red” with “bright white background“.
You can make use of lots of other combinations. Just type “help color“.
You can select around 16 different attributes to set your color for the command prompt.
Then arises a million dollar question, how to set it to default screen after doing this. Just type “color” and press “enter” it will restores the color to what it was when the “cmd.exe” was started or else it will appears same a before after closing and restarting the command prompt.
View original article at Chaaps: Set Default Console Foreground & Background colors for command prompt
:lol:to enjoy