delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/05/01:06:47

From: "John M. Aldrich" <fighteer AT cs DOT com>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.          |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019