Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!versatc!mips!prls!philabs!linus!nixbur!nixpbe!freiss From: freiss@nixpbe.uucp Newsgroups: comp.sys.ibm.pc Subject: Re: BAT files and ECHO OFF Message-ID: <24000003@nixpbe> Date: 3 May 89 20:20:33 GMT References: <161@infovax.UUCP> Lines: 24 Nf-ID: #R:infovax.UUCP:-16100:nixpbe:24000003:000:932 Nf-From: nixpbe.uucp!freiss May 3 10:51:00 1989 bl@infovax.UUCP writes: >Dear everybody, long ago there circulated a number of binary patches >to COMMAND.COM (for DOS 2.x and 3.1) that set ECHO to default to OFF >when a .BAT file was executed. I like not to see the first statement >'ECHO OFF' echoed when a batch is run, so does anybody have this in- >formation for DOS 3.3 COMMAND.COM. (I guess I could browse around a I don't know if there is a binary patch out there in netland, but the famous 'ECHO OFF' problem can be solved using an undocumented feature of DOS 3.3: Lines beginning with the '@' (at) character are never echoed. Replacing 'ECHO OFF' with '@ECHO OFF' will spare your sore eyes the ungainly sight :-) of an echoed 'ECHO'. - Martin -- Martin Freiss UUCP: USA: ..!uunet!philabs!linus!nixbur!freiss.pad Nixdorf Computer AG !USA: ..!mcvax!unido!nixpbe!freiss.pad Dept. DS2 NERV: freiss.pad Pontanusstr. 55 D-4792 Paderborn