|
Post Number: 21
|
gold
Group: Members
Posts: 24
Joined: Sep. 2005
|
|
Posted on: Feb. 13 2006,16:49 |
|
|
It changes menu color only, after dos is fully loaded, I mean when we see 'A:\>', it loads the default colors only. Config.sys' 'Menu Color' won't change the color of prompt. Either Ansi.sys had to be loaded or Command.com had to be edited to get a changed color at prompt.
Thanks..
Edited by gold on Feb. 13 2006,16:53
|
|
|
|
Post Number: 22
|
wanderer
Group: Members
Posts: 7
Joined: Jan. 2006
|
|
Posted on: Feb. 14 2006,08:42 |
|
|
@gold
Quote | It changes menu color only, after dos is fully loaded, I mean when we see 'A:\>', it loads the default colors only. Config.sys' 'Menu Color' won't change the color of prompt. Either Ansi.sys had to be loaded or Command.com had to be edited to get a changed color at prompt. |
Thanks for your answer,i understand now better what you ment. I used your tutorial; tutorial
and it works perfect Â
Thanks again and see you.
|
|
|
|
Post Number: 23
|
gold
Group: Members
Posts: 24
Joined: Sep. 2005
|
|
Posted on: Feb. 16 2006,14:44 |
|
|
Thanks, actually real credit goes to Tattenbach, who made all this possible, I just wrote the tutorial.
Take care..
|
|
|
|
Post Number: 24
|
wanderer
Group: Members
Posts: 7
Joined: Jan. 2006
|
|
Posted on: Feb. 16 2006,17:57 |
|
|
Quote | Thanks, actually real credit goes to Tattenbach, who made all this possible, I just wrote the tutorial. |
Ok,then i say also thanks to Tattenbach My English is a bit poor you see,i didn't read all of the answers,just jump to the tutorial.
So thanks to you both and greetings from The Netherlands.
|
|
|
|
Post Number: 25
|
gold
Group: Members
Posts: 24
Joined: Sep. 2005
|
|
Posted on: Mar. 12 2007,18:02 |
|
|
Way to edit Command.com of Windows 98 SE Boot Disk to change color of dos.
1. Download and unzip FRHED v1.0.156 (Free Hex Editor) from this path.
http://www.rs.e-technik.tu-darmstadt.de/applets/frhed156.zip
Or Download and install FRHED v1.1
http://www.rs.e-technik.tu-darmstadt.de/applets/frhed-v1.1.zip
If you are experienced you can use any other Hex editor.
2. Backup a copy of Command.com (if any error occurs you can restore it)
3. Run 'frhed.exe', File > Open 'Command.com'
4. Go to Edit > Find > Copy and paste this string:
<bh:b4><bh:06><bh:b7><bh:07>2<bh:db>
5. The '07' in <bh:07> holds the information about color. So it had to be changed to get the required result. These are the values.
Black - 0 Blue - 1 Green - 2 Cyan - 3 Red - 4 Magenta - 5 Brown - 6 White - 7 Grey - 8 Bright Blue - 9 Bright Green - A Bright Cyan - B Bright Red - C Bright Magenta - D Yellow - E Bright White - F
The first number represent background (in 07, '0' is for background), the second is for foreground color (in 07, '7' is for foreground). Don't enter a number larger than 7 for the first number or your screen will blink.
You can see these values: |b7 07 32 db| Then Click on the '0' in Hex Editor window. Go to Edit > Enter Decimal Value > Key in 14.
The values will change like this |b7 0e 32 db|
The decimal value 14 is equal to hex value 0e. ‘0’ for black background and ‘e’ for yellow foreground. Decimal to Hex conversion tables can be searched in google.
6. Then save the file. Click on File > Save. Close the Hex editor and replace ‘Command.com’ of Windows 98 SE Boot Disk with the modified one. You can check the date to ensure that you had replaced the old one. The modified date will be current date. Now boot from new disk and check whether it is working. If any error occurs, then do the steps once more.
If any program is executed then the default colors are loaded. ‘cls’ will bring back the changed colors.
|
|
|
|
|
|
© 2002-2024 EZB Systems, Inc.
|
|
|