[pchelpers] Re: ms dos prompt box font color
- From: Scott McNay <Wizard@xxxxxxxx>
- To: "G.R. Hanson on pchelpers " <pchelpers@xxxxxxxxxxxxx>
- Date: Sat, 26 Apr 2003 20:32:13 -0500
Hi Re-Na!
G> Had no problem right clicking and getting the property box to open.
G> I just don't have a color tab.
G> For font, it lets me choose a larger size, which I did.
G> The color is still faint gray.
Hmmm...
If you're using WinME, I don't know how to change the colors at the
command prompt with it, although you might try the suggestions below.
If you're using DOS/Win3.1/Win95/Win98/Win98SE, you can edit C:\CONFIG.SYS and
add/edit a
line that says
DEVICEHIGH=C:\WINDOWS\COMMAND\ANSI.SYS
(for DOS or Win3.1, use DEVICE=C:\DOS\ANSI.SYS)
and then edit C:\AUTOEXEC.BAT to add/edit a line that says
SET PROMPT=$E[1;37;40m$P$G
This will make your prompt bright white.
To play with the colors, just type the line above into your command
window, using different numbers in place of the 1, 37, and 40, and see
how it changes things. To make sure that the colors are reset to the
default first, use $E[0;1;37;40m, or abbreviate it slightly to
$E[;1;37;40m. Note that using something like $E[1;37;40;0m or
$E[1;37;40;m will give you only the default colors, since the 0 at the
end resets everything. Note that you can have multiple or no
attribute values. Chances are that the only attribute codes that will
work will be 0 and 1.
Attribute is one of the following:
0 -> Reset All Attributes (return to normal mode)
1 -> Bright (Usually turns on BOLD)
2 -> Dim
3 -> Underline
5 -> link
7 -> Reverse
8 -> Hidden
Foreground is one of the following:
30 -> Black
31 -> Red
32 -> Green
33 -> Yellow
34 -> Blue
35 -> Magenta
36 -> Cyan
37 -> White
Background is one of the following:
40 -> Black
41 -> Red
42 -> Green
43 -> Yellow
44 -> Blue
45 -> Magenta
46 -> Cyan
47 -> White
For a Texas flag (like you care about that <grin>), try this:
SET PROMPT=$e[1m$e[44m*$e[41máá$e[40m$e[m $e[1m $p$G
There's a pair of special characters in there; you'll have to
cut-n-paste to get them properly.
--
--Scott.
mailto:Wizard@xxxxxxxx
Regards, John Durham (list moderator) <http://modecideas.com/contact.html?sig>
Freelists login at http://www.freelists.org/cgi-bin/lsg2.cgi
List archives at http://www.freelists.org/archives/pchelpers
PC-HELPERS list subscribe/unsub at http://modecideas.com/discuss.htm?sig
Good advice is like good paint- it only works if applied.
- References:
- [pchelpers] ms dos prompt box font color
- From: G.R. Hanson
- [pchelpers] Re: ms dos prompt box font color
- From: Scott McNay
- [pchelpers] Re: ms dos prompt box font color
- From: G.R. Hanson
Other related posts:
- » [pchelpers] ms dos prompt box font color
- » [pchelpers] Re: ms dos prompt box font color
- » [pchelpers] Re: ms dos prompt box font color
- » [pchelpers] Re: ms dos prompt box font color
- » [pchelpers] Re: ms dos prompt box font color
- » [pchelpers] Re: ms dos prompt box font color
- [pchelpers] ms dos prompt box font color
- From: G.R. Hanson
- [pchelpers] Re: ms dos prompt box font color
- From: Scott McNay
- [pchelpers] Re: ms dos prompt box font color
- From: G.R. Hanson