Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!rutgers!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.UUCP (Rahul Dhesi) Newsgroups: comp.sys.ibm.pc Subject: BATCH files that do not echo Message-ID: <2412@bsu-cs.UUCP> Date: 19 Mar 88 19:26:20 GMT References: <3aee6925.44e6@apollo.uucp> Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 17 Regarding the frequently-asked question about how to make batch files not print "echo off", the answers are: 1. For MSDOS 2.x I know of no way to suppress the initial "echo off" except for redirecting output to NUL, which suppresses everything printed, which is not usually what you want. 2. For MSDOS 3.1 there are patches I have seen floating around on BBSs that will make "echo off" the default, so you won't have anything echo unless the first line of the batch file is "echo on". But the patch varies between versions and machines and I have none that works on all versions. Just get used to it. 3. For MSDOS 3.3 or so, there is an explicit mechanism that I haven't used, because I don't use 3.3, that lets you suppress echoing of a line selectively, thus letting you suppress the initial "echo off". -- Rahul Dhesi UUCP: !{iuvax,pur-ee,uunet}!bsu-cs!dhesi