| Topics | |
|---|---|
| Changing Screen Colours | Changing The DOS Prompt |
| Main Topic Index | |
| Giving the screen some colour | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OK, then - let's make the bleak, black world of DOS less cheerless! Open your Config.sys with the DOS Editor (or one of the alternatives mentioned in Editing Files): Edit Config.sys [Enter] or:Edit c:\config.sys [Enter]Move the cursor down to somewhere near the end of the Config.sys lines, and type in: DEVICE=C:\WINDOWS\COMMAND\ANSI.SYSor, if Config.sys loads Himem.sys and includes 'DOS=HIGH', then: DEVICEHIGH=C:\WINDOWS\COMMAND\ANSI.SYSSave the file (Alt-F-S), and open your Autoexec.bat. Just key Alt-F-O and tab to the list. Select the file and press Enter. You probably have the line: PROMPT $P$G At the beginning of that line type the word REM to make it read REM PROMPT $P$G which will make it into a "Remark" to be ignored.At the end add the line: PROMPT $e[1;33;44m$P$G (Use lower case for 'e' and 'm' as given here. They are case-sensitive).On the final line type in: CLS Save the file (Alt-F-S), and key Alt-F-X to exit the DOS Editor.Reboot ( Ctrl+Alt+Del ), press F8 and choose "Command Prompt only" again. Type in any harmless command such as DIR, then CLS. Now is that better?
Other colours are available, the ANSI numbers to change in the example above being the 33 (foreground) and 44 (background):
In the example above - PROMPT $e[1;33;44m$P$G - '1' after the e[ (square bracket) means 'Bright', so alters tones. The alternative is '0' (zero). Experiment with colour combinations to suit your taste. |
| Changing the DOS Prompt | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
If you want to personalise the default - PROMPT $P$G - you can change that, too, using the combinations here.
Try your own version. You could write something like this, which is broken into the lines as they appear on screen:
which comes out as the 5-line Prompt:
PROMPT $e[1;33;44m$Q$Q Welcome $Q Today is $D $Q$Q$_$L I am $V_$G$_$B Please give me an order. Thank you. $B$_$_$P
You could tire of this very soon, as it would reappear in full every time ... It's only an example! |
||||||||||||||||||||||||||||||
| Top of Page Main Topic Index | ||||||||||||||||||||||||||||||
Last Page
< Home >