From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McCarty Subject: Re: How print output into diffent color Date: Tue, 09 Dec 2008 12:28:50 -0600 Message-ID: <493EB8E2.1010305@sbcglobal.net> References: <20655741.post@talk.nabble.com> <20081209120758.b5c96918.theatre@sasktel.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20081209120758.b5c96918.theatre@sasktel.net> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Frank Cox wrote: > On Tue, 9 Dec 2008 08:29:25 -0800 (PST) > Dos_Neo 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. > > http://www.robvanderwoude.com/ansi.html Good info, but that site wants to set cookies, so beware. Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that!