Mail Archives: djgpp/1997/06/05/01:06:47
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 -