Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 23-01-2006, 01:48 PM   #1 (permalink)
Broken In
 
chitvan's Avatar
 
Join Date: Dec 2005
Posts: 159
Default how can i change colour in ms-dos ?


how can i change color of text & background in ms-dos in winxp sp2?

i want to change text color white to bright green.
chitvan is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 23-01-2006, 02:18 PM   #2 (permalink)
Alpha Geek
 
yrana2002's Avatar
 
Join Date: Sep 2005
Location: The Black Pearl
Posts: 507
Default

Open ms-dos
And type:
Color 2

For other colors:
0 = Black
1 = Blue
2 = Green
3 = Aqua
4 = Red
5 = Purple
6 = Yellow
7 = White
8 = Gray
__________________
Dont ever involve in a dispute with a fool. The viewers might not be able to distinguish between the two :rolleyes:
yrana2002 is offline  
Old 23-01-2006, 04:44 PM   #3 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default

u can also right click on the the dos window in taskbar and click on properties, you can change the colour from there
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 30-01-2006, 03:58 PM   #4 (permalink)
Broken In
 
chitvan's Avatar
 
Join Date: Dec 2005
Posts: 159
Default

thanx
chitvan is offline  
Old 29-06-2006, 12:14 AM   #5 (permalink)
Banned
 
shovik's Avatar
 
Join Date: Jun 2005
Location: Hooghly
Posts: 277
Default Re: how can i change colour in ms-dos ?

You can also do combinations of two colors for both text and background.
The syntax is as follows:
Sets the default console foreground and background colors.

COLOR [attr]

attr Specifies color attribute of console output

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 below 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

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,
Shovik.
shovik is offline  
Old 29-06-2006, 12:52 PM   #6 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: how can i change colour in ms-dos ?

You can also change color through C programming!! For normal users create a link to 'DOS Console' in the
dekstop, and click on 'Properties' .There you can change all the options like memory, foreground color,
backgrounf color etc.,
JGuru is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by topgear
- by abhidev
- by clmlbx
- by Sarath

Advertisement




All times are GMT +5.5. The time now is 04:32 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2