rdgreenall@watnot.UUCP (Richard Greenall) (03/10/86)
If anyone happens to have a copy of the instructions to make batch files run silent (without echoing to screen and not using echo off) could they please mail it to me. Greatly appreciated RDGREENALL@WATNOT.UUCP RICHARD GREENALL UNIVERSITY OF WATERLOO
connery@bnrmtv.UUCP (Glenn Connery) (03/15/86)
This has been asked before and presumably will be again. I thought I might as well do a general posting. Again, those who may need this in the future please save it. DOS 3.0 Patch for noecho in batch files: ======================================== Following is a file containing debug commands to default to noecho for the DOS 3.0 command.com. it consists of two sections--the code section sets echo off for normal batch files, and the one byte patch sets echo off for autoexec.bat. from pcshare june/85. simply perform the command: debug command.com <noecho.dbg and this file will do the rest. make sure to copy your command.com before doing this, just in case... -----------------cut here (create noecho.dbg)------------------ r d a60 l 2 e a60 00 00 d 180c l 2 e 180c a8 2c e 18b8 01 e 35ce 00 e 35d4 00 d 44b3 l 12 e 44b3 0d 0a 00 50 1e 55 89 e5 8b 46 08 d 44be l 12 e 44be 8e d8 e8 0d f1 5d 1f 58 e9 f8 e2 u 180b l 3 u 44b3 w q -----------------cut here-------------------------------------- DOS 3.1 Patch for noecho in batch files: ======================================== The following is from a general Compuserve posting for DOS 3.1: DEBUG COMMAND.COM -E 1967<cr> xxxx:1967 01.00<cr> -W<cr> -Q<cr> Note 1: The default for AUTOEXEC.BAT files will still be ECHO OFF. Note 2: If the last thing done in a .BAT file is to do ECHO ON, then you will get two prompts at exit. The following is from Calvin R. Shields as reprinted in PC Mazazine Vol. 4 No. 4, p. 235 and will set ECHO OFF in your AUTOEXEC.BAT file. DEBUG COMMAND.COM -E 105B<cr> xxxx:105B 03.02<cr> -W<cr> -Q<cr> There are patches for earlier versions of DOS that I used to have, and I'm sure they're around someplace, but I seem to have lost them along the way. I know that they're still around someplace on PC Share if anyone needs them... -- Glenn Connery, Bell Northern Research, Mountain View, CA {hplabs,amdahl,3comvax}!bnrmtv!connery