Date: Thu, 27 Sep 2001 18:43:46 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Paula Sanchez Message-Id: <3028-Thu27Sep2001184345+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: (message from Paula Sanchez on Thu, 27 Sep 2001 09:55:48 -0600) Subject: Re: get output of commands in batch file redirected to a file References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Paula Sanchez > Newsgroups: comp.os.msdos.djgpp > Date: Thu, 27 Sep 2001 09:55:48 -0600 > > I want to be able to call my batch file like this > C:\>mybatch.bat > wholeOut.put You can't: command.com ignores redirection when it runs batch files. To work around this, invoke the batch file like this: command.com /c mybatch.bat > wholeOut.put