|
AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
| Previous Message | Next Message | Back to BAT Magic <-- <--- | Return to Home Page |
|
||||||
| From | To | Subject | Date/Time | |||
|
|
Visitor | ALL | C.BAT |
November 5, 1995 6:26 PM * |
||
echo off
c:
prompt $e[33m$p$g
Title: "Color-Coded DOS Prompts"
Reference: PC World March 1990
Author: Jim De Fabia
Files: C.DOC, C.BAT
If your system has several drives, use batch commands similar to
those in C.BAT to color-code your DOS prompt to show A:\> in
magenta, C:\> in yellow, and other drives in other colors. You can
accomplish this with a set of batch files, one per drive, that
contain PROMPT commands to change the prompt's color.
Store C.BAT and your own similar files in a subdirectory listed in a
PATH statement. Then, type C and press <Enter> to log onto the C:
drive and also turn the prompt to magenta. For other drives, copy the
batch file to another name, replace C: with the desired drive letter
and the 35 in the PROMPT command with another color code from those
listed below. You need a color display, of course, and your
CONFIG.SYS file must contain the command DEVICE=ANSI.SYS. Never set
the display color to the same color as the background (usually black
(30)), or you may lose the ability to see any text on screen.
Value Attribute Value Foreground Value Background
------------------------------------------------------------------
0 Attributes off 30 Black 40 Black
1 High intensity 31 Red 41 Red
2 Normal 32 Green 42 Green
4 Underline* 33 Brown 43 Brown
5 Blink 34 Blue 44 Blue
7 Inverse 35 Magenta 45 Magenta
8 Concealed 36 Cyan 46 Cyan
37 White 47 White
* Monochrome monitors only
___ Blue Wave/QWK v2.12
|
||||||
|
||||||
| Previous Message | Next Message | Back to BAT Magic <-- <--- | Return to Home Page |
|
Execution Time: 0.0127 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2025 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |
