public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Frank Cox <theatre@sasktel.net>
To: Dos_Neo <arya_mady@yahoo.com>
Cc: linux-msdos@vger.kernel.org
Subject: Re: How print output into  diffent color
Date: Mon, 24 Nov 2008 01:08:21 -0600	[thread overview]
Message-ID: <20081124010821.0f1094d5.theatre@sasktel.net> (raw)
In-Reply-To: <20655741.post@talk.nabble.com>

On Sun, 23 Nov 2008 22:51:25 -0800 (PST)
Dos_Neo <arya_mady@yahoo.com> 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

  reply	other threads:[~2008-11-24  7:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-24  6:51 How print output into diffent color Dos_Neo
2008-11-24  7:08 ` Frank Cox [this message]
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=20081124010821.0f1094d5.theatre@sasktel.net \
    --to=theatre@sasktel.net \
    --cc=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