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