Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site utastro.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!sdcsvax!dcdwest!ittvax!decvax!genrad!panda!talcott!harvard!seismo!ut-sally!utastro!nather From: nather@utastro.UUCP (Ed Nather) Newsgroups: net.micro.pc Subject: Re: Running batch files without echoing commands Message-ID: <1128@utastro.UUCP> Date: Tue, 19-Mar-85 10:44:08 EST Article-I.D.: utastro.1128 Posted: Tue Mar 19 10:44:08 1985 Date-Received: Thu, 21-Mar-85 04:30:36 EST References: <1274@aecom.UUCP> Distribution: net Organization: U. Texas, Astronomy, Austin, TX Lines: 28 > Hi... > > Does anybody know how to run a batch file in msdos without > any echoing of commands. I hate to use `echo off` as the first command > because then "echo off" is echoed!! > > thanx alot, > schwady I always use "echo off" as the first line, followed by the escape sequence that jumps the cursor to the beginning or the line, then the sequence that erases the line, then the sequence that moves the cursor up a line (to compensate for the newline after the "echo off") -- this leaves the screen and cursor as you would want them, but the "echo off" flashes momentarily while all this is going on. Shabby, kludgy, awful -- but it works, if you have "device=ansi.sys" in your "config.sys" file. Stuff that provides gratuitous output, like the copy command, can be silenced by the following: copy *.* newdir > nul By the way -- does anybody know how to rename a directory without creating a new one and copying all the files into it? -- Ed Nather Astronony Dept, U of Texas @ Austin {allegra,ihnp4}!{noao,ut-sally}!utastro!nather