Search Members Help

» Welcome Guest
[ Log In :: Register ]

Page 3 of 3<<123

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: Need Help, Debug command.com to edit color of dos< Next Oldest | Next Newest >
 Post Number: 21
gold Search for posts by this member.

Avatar



Group: Members
Posts: 24
Joined: Sep. 2005
PostIcon Posted on: Feb. 13 2006,16:49  Skip to the next post in this topic. Ignore posts   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..

Edited by gold on Feb. 13 2006,16:53
Offline
Top of Page Profile Contact Info 
 Post Number: 22
wanderer Search for posts by this member.

Avatar



Group: Members
Posts: 7
Joined: Jan. 2006
PostIcon Posted on: Feb. 14 2006,08:42 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

@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  :cool:

Thanks again and see you.
Offline
Top of Page Profile Contact Info 
 Post Number: 23
gold Search for posts by this member.

Avatar



Group: Members
Posts: 24
Joined: Sep. 2005
PostIcon Posted on: Feb. 16 2006,14:44 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Thanks, actually real credit goes to Tattenbach, who made all this possible, I just wrote the tutorial.

Take care..
Offline
Top of Page Profile Contact Info 
 Post Number: 24
wanderer Search for posts by this member.

Avatar



Group: Members
Posts: 7
Joined: Jan. 2006
PostIcon Posted on: Feb. 16 2006,17:57 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

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.
Offline
Top of Page Profile Contact Info 
 Post Number: 25
gold Search for posts by this member.

Avatar



Group: Members
Posts: 24
Joined: Sep. 2005
PostIcon Posted on: Mar. 12 2007,18:02 Skip to the previous post in this topic.  Ignore posts   QUOTE

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.
Offline
Top of Page Profile Contact Info 
24 replies since Sep. 15 2005,14:06 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


Page 3 of 3<<123
reply to topic new topic new poll

» Quick Reply Need Help
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code