different color for each lien?

K

Kok Yong Lee

hi there,

just wonder is it possible to print out test.char in dos prompt in various
color in a single session?


c:\junk>This line in RED
c:\junk>This line in Yellow
so on and so forth.


color command tend to change everything in the dos prompt, I am looking for
some local changes.

thanks.
 
M

Mark V

In said:
hi there,

just wonder is it possible to print out test.char in dos prompt
in various color in a single session?


c:\junk>This line in RED
c:\junk>This line in Yellow
so on and so forth.


color command tend to change everything in the dos prompt, I am
looking for some local changes.

CMD.EXE does not support the ANSI text color commands as did DOS'
command.com.

There are several workarounds but this
CTEXT.EXE (Dennis Bareis)
http://users.cyberone.com.au/dbareis/freew32.htm

may be most useful.

Also, COLORX.EXE (Bill Stewert)
http://internet.cybermesa.com/~bstewart/sst.html
 
T

Timo Salmi

Kok Yong Lee said:
just wonder is it possible to print out test.char in dos prompt in various
color in a single session?

51} How can I echo lines in different colors in NT scripts?
179284 Oct 21 2006 ftp://garbo.uwasa.fi/pc/link/tscmd.zip
tscmd.zip Useful NT/2000/XP script tricks and tips, T.Salmi

All the best, Timo
 

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