"Mombiatch" wrote:
>Hi
>
>I'm trying to change a single line of output from a batch file to red (to
>show there's an error). I tried 'color c' but this changed the entire
>window's text :-P Anyone have any ideas? I used to work for Microsoft and
>saw this plenty of times, but then again, it might have been
>Console.Writeline in an exe rather than a batch file.
>
>Thanks
>Joe
>
Wbat from Horst Schaeffer
http://home.mnet-online.de/horst.muc/
or the conutils from Frank P.Westlake
Tools hosted by Ted Davis at
http://gearbox.maem.umr.edu/fwu/
Colorx in the Batch Script Tools from Bill Stewart can do this
http://mywebpages.comcast.net/stewartb/bst.html
The last one IMO easiest to use:
@echo off
colorx -l
colorx -c C0
echo this line in black on red background
colorx -c 1e
echo this is my favorite yellow on blue
HTH
--
Greetings
Matthias________________________________________
For help on nt commands enter in a cmd window:
W2K>HH windows.chm::ntcmds.htm XP>HH ntcmds.chm