Re: How print output into diffent color

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

 



On Sun, 23 Nov 2008 22:51:25 -0800 (PST)
Dos_Neo <arya_mady@xxxxxxxxx> wrote:

> 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)

http://www.robvanderwoude.com/ansi.html

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
DRY CLEANER BUSINESS FOR SALE ~ http://www.canadadrycleanerforsale.com
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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