public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* How print output into  diffent color
@ 2008-11-24  6:51 Dos_Neo
  2008-11-24  7:08 ` Frank Cox
  2008-12-09 18:07 ` Frank Cox
  0 siblings, 2 replies; 5+ messages in thread
From: Dos_Neo @ 2008-11-24  6:51 UTC (permalink / raw)
  To: linux-msdos


Hi All,

I executing one batch file in dos prompt.So my problem is that if it give
correct answer than it particalur line should print in green other wise in
red color.

Is there any command though which i can do it.
i.e
fc /B output.txt output1.txt >null
if errorlevel 1 echo.////Bad///////(print in Red color)
if not errorlevel 1 echo.///Good///(print in Green color only particular
line)
-- 
View this message in context: http://www.nabble.com/How-print-output-into--diffent-color-tp20655741p20655741.html
Sent from the linux-msdos mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-09 18:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24  6:51 How print output into diffent color Dos_Neo
2008-11-24  7:08 ` Frank Cox
2008-12-09 18:07 ` Frank Cox
2008-12-09 18:28   ` Mike McCarty
2008-12-09 18:53     ` Frank Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox