Article View: comp.sys.ibm.pc.misc
Article #8370Re: COMMAND.COM patch for environment - I'm not kidding!!!!!
From: Ralph Sims
Date: Fri, 15 Mar 1991 18:40
Date: Fri, 15 Mar 1991 18:40
37 lines
1504 bytes
1504 bytes
timur@seas.gwu.edu (The Time Traveler) writes:
> About two weeks ago, I asked for a patch from PC-DOS 4.01's COMMAND.COM
> to allow a larger default environment. However, much to my dismay, all
> I got was replies from a dozen idiots telling me to use the command-line
> switch.
For DOS 4.0, and maybe 4.01...
debug command.com
-e 3C2A 20
-w
-Q
Before you do this, dump offset 3C2A and see if it returns OAh. If so,
the patch should work. Subsituting 2F for 20 in the above patch should
yield 752-bytes of environment (DROP THE TRAILING 0 FROM 02F0h).
This information is liberally stolen from the latest issue of PC MAGAZINE,
March 26, 1991, page 390. I'd suggest looking at a copy and check this
over, to make sure I didn't miss something drastic.
The other offsets for various versions of DOS:
2.0 - 0BCF
2.1 - 0BCF
3.0 - 0F2C
3.1 - 0D11
3.2 - 0D4F
3.3 - 0EB8
--
halcyon!ralphs@seattleu.edu
The 23:00 News and Mail Service - +1 206 292 9048 - Seattle, WA USA
+++ A Waffle Iron, Model 1.64 +++
Technical Details
Message-ID:
<eq6uy14w164w@halcyon.uucp>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!milton!sumax!halcyon!ralphsReferences:
<2860@sparko.gwu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!milton!sumax!halcyon!ralphs From: halcyon!ralphs@seattleu.edu (Ralph Sims) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: COMMAND.COM patch for environment - I'm not kidding!!!!! Message-ID: <eq6uy14w164w@halcyon.uucp> Date: 15 Mar 91 18:40:37 GMT References: <2860@sparko.gwu.edu> Organization: The 23:00 News and Mail Service Lines: 37