How print output into diffent color

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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.
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
View this message in context:
Sent from the linux-msdos mailing list archive at

To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux