| delorie.com/archives/browse.cgi | search |
| Date: | Thu, 26 Oct 1995 09:12:54 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| To: | "Brian P. Kasper" <kasper AT aero DOT org> |
| Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
| Subject: | Re: Redirecting error messages into a file |
On Wed, 25 Oct 1995, Brian P. Kasper wrote:
> If I want to redirect the stderr output from 'test.exe' to the
> file "test.txt" I type this command line:
>
> test.exe >& test.txt
>
> The ampersand ('&') character indicates that stderr, not stdout,
> is to be redirected.
This only works in non-standard shells, like 4DOS or NDOS. COMMAND.COM
doesn't know about this magic. Not everybody have smart shells installed
on their PCs.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |