HowTo
Icons
Colors
DOS
[DOS]



Changing The Dos Colors
There have been many questions about how to change the colors of dos. There are a couple of ways to achive it:

1. Knowing the right ANSI codes and all options of PROMPT
2. Use a ANSI editor and know a bit of PROMPT.
3. Use a program to do it.

Some background:
It is the PROMPT command in dos that let you change the prompt. It's very hard to get the right colors with only the PROMPT command.
ANSI lets you use colors in dos. If you can't get any colors to work try to add this to config.sys :
DEVICEHIGH=C:\WIN95\COMMAND\ANSI.SYS
This should enable ANSI on your system.
If you want to know more about PROMPT type (in a dos box) 'prompt /?' and you'll see some options.


Knowing ANSI and PROMPT
Since this is really too hard it's no point in describing it.


ANSI Editor
I used a program called TheDraw to make an 'image' of the look of my prompt. (look)
I saved it as an ansi file and opened it up in EDIT. Then I just added 'PROMPT' in the beginning and changed some of the text (like path and time) to the right prompt command (eg $T for time). Then I renamed it to a .bat file so I could test it. When it was ok, I copied the line to AUTOEXEC.BAT and it worked very well.


Program
I finally found a dos promp designer program on the net. It's called 'Dos Prompt Designer 2.1' and it's a shareware program and it will be available at this site. It's somewhat unstable in win95 but try it in pure dos if it crashes to much.
The program is quite simple to use. Select 'Design New Prompts' to start a new prompt. The design menu is easy to understand. Use the 'Insert Ascii Char' to get those special chars.

Note: To use a prompt without using the program, open the pr2.dat in edit and copy the right line (look in the progams prompt selector) to a new file or autoexec.bat and type PROMPT in the beginning of the line.

Note 2: To make a prompt with more than one line:
Make it in DPP 2.1 as usual and just do the two (or more) rows on a single line, first row first. Then do as the above 'note' and then locate the place(s) in the line where there should be a new line and add a '$_' there. This should make it work.

Note3: Wrong color on the typing and listing text?
The listing color (e.g. when you 'dir') depends on your typing color (e.g. where you type 'dir') and it depends on the last color used in the prompt. This can be a bit hard to get right but try to select the typing color the last thing you do.


[DragonMaster]