Path: utzoo!mnetor!uunet!husc6!ncar!gatech!udel!princeton!phoenix!amlovell From: amlovell@phoenix.Princeton.EDU (Anthony M Lovell) Newsgroups: comp.sys.ibm.pc Subject: Echo Off! Dammit! Message-ID: <2110@phoenix.Princeton.EDU> Date: 20 Mar 88 16:56:22 GMT Organization: Princeton University, NJ Lines: 19 Keywords: no hope A wise man once asked: >> Is there any way to create batch files that don't echo >> their contents to the screen? If I precede the other >> commands in the .BAT file with 'ECHO OFF' then the @#&%*! >> 'ECHO OFF' gets echoed! >C:> x.bat > nul > Cliff Joslyn, Professional Cybernetician BZZT! You can't do this. Output of a batch file cannot be redirected wholesale. To pursue this further, echo off >nul as the first line of the batch file also will not work. DOS really wanted to screw you over on this little flaw, and I think they succeeded. -- amlovell@phoenix.princeton.edu ...since 1963. disclaimer: These are MY opinions. You only WISH they were yours.