Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!yale.edu!cmcl2!adm!news From: s2525090@techst02.technion.ac.il (Eran Davidov) Newsgroups: comp.lang.pascal Subject: Re: Redirecting I/O for .BAT files? Message-ID: <27213@adm.brl.mil> Date: 16 Jun 91 23:04:35 GMT Sender: news@adm.brl.mil Lines: 12 If you want to Redirect the IO from a batch file, there must first of all be an output to redirect. when you used the "@echo off", you made sure nothing was to be printed to the screen. therefore, nothing was redirected. try the following batch file: --- start of batch DIR --- end of batch now, when you use it this way: FOO > OUT.DAT the output will be redirected to a file, instead of appearing on your screen. Hope it helps, Eran