Path: utzoo!attcan!uunet!husc6!think!ames!pasteur!ucbvax!decwrl!sun!plx!slvblc!dick From: dick@slvblc.UUCP (Dick Flanagan) Newsgroups: comp.sys.ibm.pc Subject: Re: Need "echo off" patch for DOS 3.3 Summary: Here ya go! Keywords: echo off patch Message-ID: <1886@slvblc.UUCP> Date: 15 May 88 16:26:46 GMT References: <287@fxgrp.UUCP> Reply-To: slvblc!dick@ucscc.UCSC.EDU (Dick Flanagan) Organization: SLV Systems Group, Ben Lomond, California Lines: 56 Disclaimer: none In article <287@fxgrp.UUCP> jz@fxgrp.UUCP (Lloyd Zusman) writes: > Does anyone out there have the patch for COMMAND.COM that makes "echo > off" the default in .BAT files? ... or is the code in IBMDOS.COM or > IBMBIO.COM? ... I forget. Anyway, I once had the patch for an > earlier version of DOS, and I'd like it for my current version: > PCDOS 3.3. Well, Lloyd, by now I'm sure you're tired of everyone implying that you ask dumb questions and then proceeding to answer a different one. If you haven't given up on us yet, I'll try to answer _your_ question. In IBM's PC-DOS 3.3 there are actually two locations in COMMAND.COM that can be patched: xxxx:1D68, changed from 01 to 00, turns echo off in all batch files EXCEPT your autoexec.bat file. xxxx:1304, changed from 03 to 02, turns echo off in your autoexec.bat file. Both of these addresses are load addresses for DEBUG, so you would subtract 0100h for the physical offsets into the COM file if you wanted them. So the actual debug scenario would be: DEBUG COMMAND.COM this loads command.com into debug -E 1D68 xxxx:1D68 01.00 this is for normal batch files -E 1304 xxxx:1304 03.02 this is for your autoexec.bat -W this writes command.com to disk -Q this terminates debug Obviously, you always make backup copies of command.com before attempting any patches like this. My thanks to the nameless 26-324%harvbus1.bitnet@wiscvm.wisc.edu who originally posted these numbers last year. I hope this is what you needed. . . . Dick P.S. Now if I could just find someone who could tell me how to patch IBM PC-DOS 3.3 COMMAND.COM to change the default drive that pipes are created on, I would be very happy. (hint hint anybody out there taken the time to do this yet hint hint) -- Dick Flanagan, W6OLD GEnie: FLANAGAN UUCP: ...!ucbvax!ucscc!slvblc!dick Voice: +1 408 336 3481 Internet: slvblc!dick@ucscc.UCSC.EDU LORAN: N037 04.7 W122 04.6 USPS: PO Box 155, Ben Lomond, CA 95005