Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83 based; site hound.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!mhuxm!mhuxf!mhuxi!mhuhk!mhuxt!houxm!hound!singhal From: singhal@hound.UUCP (S.SINGHAL) Newsgroups: net.micro.pc Subject: Shutting up the batch files Message-ID: <1727@hound.UUCP> Date: Thu, 24-Apr-86 12:09:40 EST Article-I.D.: hound.1727 Posted: Thu Apr 24 12:09:40 1986 Date-Received: Sat, 26-Apr-86 05:50:48 EST Organization: AT&T Bell Labs, Holmdel NJ Lines: 34 This is in response to all the questions about how to set echo off as the default for all batch files. Following is an article which was posted on the net last year and I had saved it. I used it and it works perfectly and provides me with exactly the environment I want. --------------------------------------------------------------------------- Thanks to all who replied, or posted answers, to my original query. Since I wanted a totally quiet set of batch files, including autoexec.bat, I made the two changes below to my command.com. My .bat files now run silently without the need for "echo off" as the first line, and without any need to erase the unwanted "echo off" echo. The first correction shuts up the autoexec.bat file on its first invocation, the second speads quiet over both normal .bat files and those invoked with a second command.com, yet lets the DOS prompt show up when needed. Ideal. Just the way Microsoft could have done it in the first place. >From: Mark D. Freeman, who credits PC Magazine, November 26, 1985, page 235: To set the default to echo off in both autoexec.bat and other batch files for DOS 3.1 only: debug command.com -e 105B 2 -e 1967 0 -w -q Now, if I could just get the VDISK setup routine to do its job without bragging about it on the screen ... -------------------------------------------------------------------- ---Sharad Singhal