From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: newbie question Date: Wed, 04 Jun 1997 23:24:55 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 21 Message-ID: <3395F947.6789@cs.com> References: <5n55td$6s1$1 AT morgoth DOT sfu DOT ca> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp206.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Wilson Wang Shun Leung wrote: > > This is a newbie question. Sorry if it is too trivial. > How to capture error/warning message from command line > (in DOS)? I tried : Use the 'redir' utility which comes with DJGPP in the 'v2/djdev201.zip' package. COMMAND.COM is not smart enough to redirect stderr output from programs; you can blame Microsoft for that. The DJGPP FAQ (v2/faq210b.zip) has examples of using 'redir' in several chapters; for online help type "redir" with no parameters. hth -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com | | * Proud user of DJGPP! * | http://www.cs.com/fighteer | | ObJoke: If Bill Gates were a robber, not only would he | | shoot you, but he'd send you a bill for the bullets. | ---------------------------------------------------------------------