1.

Solve : how to change color prmanently??

Answer»
I have tried using color command to change the text color of dos shell but when i close the session it resets to default white color.
would anyone suggest how to change text color parmanently?

thanks in advanceUsing the gui, click on the little dos box in the top left corner and change the default values.

If you WANT to AUTOMATE this, dump a copy of the registry before and after, a DIFFERENCE will tell you which keys need changing, you could export those explicitly and LOAD them up on multiple machines

Graham
ok...after opening windows registry where to navigate??
i dont know the setting for dos in windows registry

regards
sanRight click the the top left of the Command prompt window and select defaults.dude!! i have done that already
now i want to know how this setting make chages in window registry as gpl said.
but i dont know where to navigate after opening registry editor?

i am using windows xp sp2please someone help me out
i am using windows xp sp2

regards
sanok to change the color permantely, open command prompt, right click on the title bar, and select properties, then hit the colors tab on the properties window and there are your color settings.Maybe what is not clear from the above is that changing the colours ("colors" for N. Americans) by setting them in the Properties dialog of the command windows, does in fact change the registry. Provided you select "Save properties for future windows with this name" on exit.


so im right???Quote from: macdad- on May 13, 2008, 02:21:18 PM
so im right???

You're right that to change the colours permanently, you can access the command window properties.

I would add that before clicking OK, you have to select the radio button for "Save properties for future windows with same title", if you want the settings to persist and be saved in the registry.



The above is the easy way. Below is another way to achieve exactly the same thing.

The value DefaultColor controls the foreground and background colours used in command prompt windows. It has a default value of 0, for standard white text on a black background.

You can replace this value with a two-digit hexadecimal number, in which the first digit selects a background colour and the second a foreground colour. The hexadecimal codes are:

Hexadecimal value Colour

0 Black
1 Blue
2 Green
3 Aqua
4 Red
5 Purple
6 Yellow
7 White
8 Grey ("gray" to Americans)
9 Light Blue
A Light Green
B Light Aqua
C Light Red
D Light Purple
E Light Yellow
F Bright White

A value of F0, for example, would give black text on a white background, and 1E would yield yellow text on a blue background.

The change should take effect the next time you open a console window.

Registry Settings:

User Key: [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
Value Name: DefaultColor
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = default)

ok, i wuz kinda nervous that san would try to grab my neck. (not really an lol)Quote from: Dias de verano on May 13, 2008, 03:25:32 PM


The change should take effect the next time you open a console window.

Registry Settings:

User Key: [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
Value Name: DefaultColor
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = default)



i have changed color parmanently as u stated using windows gui but your claim, that this change will be shown in system registry, has not been verified rather its still having default valueslook san, if it works...it works there is no need for extra work, the registry key that changes may be hidden from user view, so just accept it as it is.


Discussion

No Comment Found