Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 75973 invoked from network); 2 Jan 2001 18:18:20 -0000 Received: from unknown (HELO ip66.25.136.216.in-addr.arpa) (216.136.25.66) by h31.sny.collab.net with SMTP; 2 Jan 2001 18:18:20 -0000 Received: from INTERNAL by ip66.25.136.216.in-addr.arpa via smtpd (for h31.sny.collab.net [64.208.42.41]) with SMTP; 2 Jan 2001 18:17:15 UT Received: by INTERNAL with Internet Mail Service (5.5.2650.21) id ; Tue, 2 Jan 2001 12:19:34 -0600 Message-ID: <813DEF89EE87D311B8CF0008C74FFBAD59D79C@INTERNAL> From: "Lee, Jonathon" To: "'ant-user@jakarta.apache.org'" Subject: RE: Stupid Windows question Date: Tue, 2 Jan 2001 12:19:23 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N [command] > file.txt 2>&1 will redirect both stderr & stdout to file.txt Jonathon Lee leej@zilliant.com (512) 531-8525 http://www.zilliant.com -----Original Message----- From: James Bucanek [mailto:subscriber@gloaming.com] Sent: Tuesday, January 02, 2001 11:55 AM 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