Changing the color of your display

J

Joe

I had found this before but now I forgot, I need to change
the color of the command prompt, so that basically I can
change the color of the display (to say red) before
running the command (xcopy) so that when (with echo off)
it returns the number of files copied it comes up flashing
red or something so its easier to see in amoungst all the
other stuff returning from my .cmd file.

P.s. Thanks you guys for all the replies to the other
question, big big help!

Joe
 
W

Wadester

In
Joe said:
I had found this before but now I forgot, I need to change
the color of the command prompt, so that basically I can
change the color of the display (to say red) before
running the command (xcopy) so that when (with echo off)
it returns the number of files copied it comes up flashing
red or something so its easier to see in amoungst all the
other stuff returning from my .cmd file.

P.s. Thanks you guys for all the replies to the other
question, big big help!

Joe

COLOR /?

ws
 
J

Joe

That one, unfortunately, and I dunno why anyone would need
that function, changes the entire window settings...

I think I remember it being possible with the prompt
command and some settings that used ansi.sys from back in
the day but as ANSI.sys isnt getting loaded anymore and
loading it would not be what I want to do I cant think of
another way around.

Joe
 
M

Mark V

In said:
That one, unfortunately, and I dunno why anyone would need
that function, changes the entire window settings...

I think I remember it being possible with the prompt
command and some settings that used ansi.sys from back in
the day but as ANSI.sys isnt getting loaded anymore and
loading it would not be what I want to do I cant think of
another way around.

COLOR (and TITLE) works well to call attention to the window. You
might test errorlevel or other and decide to issue COLOR command on
Error or...

ANSI ESC sequences in PROMPT was a DOS thing (no "DOS" in NTx).
Something similar can be done with NTx command.com, but then you lose
the benefits of cmd.exe

A replacement text shell like "4NT" might suit.

Recently my attention was called to CTEXT
This might do what you want more or less.
http://www.labyrinth.net.au/~dbareis/index.htm
 
M

Matthias Tacke

Joe said:
I had found this before but now I forgot, I need to change
the color of the command prompt, so that basically I can
change the color of the display (to say red) before
running the command (xcopy) so that when (with echo off)
it returns the number of files copied it comes up flashing
red or something so its easier to see in amoungst all the
other stuff returning from my .cmd file.
There was a recent thread in alt.msdos.batch:
http://groups.google.com/groups?threadm=gcWdnVHxy-cQ2kyiRVn-gg@comcas
t.com

A recommendation from Phil Robyn in that thread was this:
You could try CTEXT:
CTEXT.EXE : Version 2K.232 (C)opyright Dennis Bareis 2000
http://www.labyrinth.net.au/~dbareis/index.htm
([email protected])
If you are like me you are not happy that windows does not
support ANSI color codes on the command line. This program allows you
to display text in different colors in batch files etc.


wbat from Horst Schaeffer might also help
http://home.mnet-online.de/horst.muc/

hth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top