different color for each lien?

  • Thread starter Thread starter Kok Yong Lee
  • Start date Start date
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.
 
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
 
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
 
Back
Top