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 44422 invoked from network); 2 Jan 2001 19:12:40 -0000 Received: from gw2.alterna.com (HELO hostess.alterna.com) (207.176.237.224) by h31.sny.collab.net with SMTP; 2 Jan 2001 19:12:40 -0000 Received: from lipizzan ([192.168.1.104]) by hostess.alterna.com (Netscape Messaging Server 4.15) with ESMTP id G6JSQL00.C7Q; Tue, 2 Jan 2001 11:30:21 -0700 From: "Eric White" To: , Subject: RE: Stupid Windows question Date: Tue, 2 Jan 2001 11:29:22 -0700 Message-ID: <000301c074e9$ed4afb10$6801a8c0@lipizzan.alterna.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 In-Reply-To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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 > >