From: Dos_Neo <arya_mady@yahoo.com>
To: linux-msdos@vger.kernel.org
Subject: How print output into diffent color
Date: Sun, 23 Nov 2008 22:51:25 -0800 (PST) [thread overview]
Message-ID: <20655741.post@talk.nabble.com> (raw)
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.
next reply other threads:[~2008-11-24 6:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-24 6:51 Dos_Neo [this message]
2008-11-24 7:08 ` How print output into diffent color Frank Cox
2008-12-09 18:07 ` Frank Cox
2008-12-09 18:28 ` Mike McCarty
2008-12-09 18:53 ` Frank Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20655741.post@talk.nabble.com \
--to=arya_mady@yahoo.com \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox