|
|
ahhhh Thankyou for at least restoring some recognizable landmarks, I
remember now did have it working once using 2>
under NT. It is javac I am trying to run btw. I guess that means that javac
IS going to stderr. It is in the NT
environment at work that it matters most so thankyou much! Whether I can do
it at home under W98 matters less.
Ron Parker wrote:
> 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
|
|