ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric White" <ewh...@alterna.com>
Subject RE: Stupid Windows question
Date Tue, 02 Jan 2001 18:29:22 GMT
this should work

[command] 1> stdout.txt 2> stderr.txt


-----Original Message-----
From: Lars Diestelhorst [mailto:diestelhorst@tuhh.de]
Sent: Tuesday, January 02, 2001 11:12 AM
To: ant-user@jakarta.apache.org
Subject: RE: Stupid Windows question


Hello,

i am not sure, try [command] >> file.txt

Lars Diestelhorst

> -----Original Message-----
> From: James Bucanek [mailto:subscriber@gloaming.com]
> Sent: Tuesday, January 02, 2001 6:55 PM
> To: ant-user@jakarta.apache.org
> Subject: RE: Stupid Windows question
>
>
> At 11:37 AM -0600 1/2/01, Bill Lynch wrote:
> >  > P.S. How can you redirect the stderr output from a command to a file?
> >
> >[command] > file.txt
> >
> >ie:
> >
> >dir > file.txt
> >
> >or
> >ipconfig > file.txt
>
> But this only redirect stdout.  stderr still goes to the shell.
>
> __________________________________
> James Bucanek
> <mailto:privatereply@gloaming.com>
>


Mime
View raw message