|
![](/i/fill.gif) |
On Wed, 03 Jan 2001 19:56:03 -0500, J Charter wrote:
>would be most grateful for the answer...
>
>I am running compiles in DOS from the "dosprompt" or "consol" that W98
>provides and I want to stream the compiler errors, which are normally
>written to the consol, to a file instead. I know I used to do this once
>upon a time, but cannot remember what the switch is and cannot seem to
>turn it up in any books I have. Can anyone be so kind ...
I don't think there's a way to do it in command.com. If you were using
NT's cmd.exe, you could just add "2>errors.txt" to the end of the command
line.
If you're using cygwin, you might try using the bash shell that comes with
it and using the same 2> notation to redirect stderr.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Post a reply to this message
|
![](/i/fill.gif) |