The Computer Oracle

Reset colors on Windows command line (cmd)

Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Dream Voyager Looping

--

Chapters
00:00 Question
00:43 Accepted answer (Score 104)
01:13 Answer 2 (Score 37)
01:44 Answer 3 (Score 13)
02:01 Thank you

--

Full question
https://superuser.com/questions/158759/r...

Question links:
[reset]: http://linux.die.net/man/1/reset

Answer 2 links:
http://commandwindows.com/vista-commands...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #colors #commandline

#avk47



ACCEPTED ANSWER

Score 106


Color 07 will set it to the default scheme that cmd.exe uses.

Color attributes are specified by TWO hex digits -- the first corresponds to the background; the second the foreground. Each digit can be any of the following values:

0 = Black       8 = Gray
1 = Blue        9 = Light Blue
2 = Green       A = Light Green
3 = Aqua        B = Light Aqua
4 = Red         C = Light Red
5 = Purple      D = Light Purple
6 = Yellow      E = Light Yellow
7 = White       F = Bright White



ANSWER 2

Score 38


Try Color

Use color /? to see all the commands

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




ANSWER 3

Score 13


Well according to: http://commandwindows.com/vista-commands.htm

You just type COLOR.

Worked for me just now...