Xref: utzoo comp.sys.ibm.pc:29778 comp.binaries.ibm.pc.d:3327 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!ukma!uflorida!novavax!infocenter!mhoffman From: mhoffman@infocenter.UUCP (Mike Hoffman) Newsgroups: comp.sys.ibm.pc,comp.binaries.ibm.pc.d Subject: Re: How to hide 'echo off' in batch files? Message-ID: <2551@infocenter.UUCP> Date: 5 Jun 89 20:02:12 GMT References: <562@megatek.UUCP> Organization: Gould CSD, Fort Lauderdale, FL Lines: 31 in article <562@megatek.UUCP>, hollen@eta.megatek.uucp (Dion Hollenbeck) says: > From article <3249@cps3xx.UUCP>, by usenet@cps3xx.UUCP (Usenet file owner): >> in article <9139@boulder.Colorado.EDU>, haverlan@tramp.Colorado.EDU (HAVERLAND MARC BRADLEY) says: >>> Does anyone know how to turn off echoing in a batch file without >>> showing the 'echo off?' >> >> ----> If you are using DOS 3.x, use @echo off. The @ sign will supress >> the "echo off" message.... >> > Almost correct. This will not work until DOS 3.3 or higher, not present > in DOS 3.2. There are however some patches which have gone around the > net which allow command.com to be patched to make echo off the default. [stuff deleted] > There is a replacement for command.com called 4DOS which implements the > @ECHO OFF correctly. For those who have DOS 3.2 or lower, and are not excited about patching command.com or installing a replacement, the only answer I know of is to follow the "echo off" line with a "cls" line. The "echo off" is displayed, but it is erased so quickly it usually can't be noticed. This will usually suffice for all but the most "discriminating" nitpickers :-) :-) --- Michael J. Hoffman Voice: (407)255-8116 Manufacturing Engineering FAX: (407)255-8186 Encore Computer Corporation Email: mhoffman USnail: 100 N. Babcock St. UUCP: {uunet,codas!novavax,sun,pur-ee}!gould!mhoffman Melbourne, Fl 32935 "Curiouser and Curiouser" -- Alice in Wonderland