Article View: comp.os.msdos.programmer
Article #3663Re: Environment size hack in DOS 5?
From: Jochen Roderburg
Date: Fri, 13 Nov 1992 17:27
Date: Fri, 13 Nov 1992 17:27
21 lines
1756 bytes
1756 bytes
In article <1992Nov12.234502.22273@midway.uchicago.edu> pynq@quads.uchicago.edu (George Jetson) writes: In versions of DOS prior to 4.0, there was a well known patch location in COMMAND.COM that allowed you to change the default environment size. The default was usually something like 160 bytes (0A paragraphs), which is ridculously low. However, it was a simple matter to use DEBUG to patch it to something reasonable (e.g., setting the byte to 30 would get you a 768 char [minimum] environment, in all your subshells.) I can't tell you the exact location, only for the german version which wouldn't help you very much, but I remember that the unexpected problem with this patch for DOS 5 was, that the default environemnt size is now 256 and not 160, so you have to search for something with hex 10 and not hex 0A to locate the patch point. Jochen Roderburg Regional Computing Center University of Cologne Robert-Koch-Str. 10 Tel.: +49-221/470-4564 D-5000 Koeln 41 E-Mail: Ro @ RRZ.Uni-Koeln.DE Germany
Technical Details
Message-ID:
<A0045.92Nov13172750@berry.rrz.uni-koeln.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!uw-beaver!cs.ubc.ca!destroyer!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!rrz.uni-koeln.de!news!a0045References:
<1992Nov12.234502.22273@midway.uchicago.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!uw-beaver!cs.ubc.ca!destroyer!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!rrz.uni-koeln.de!news!a0045 From: a0045@rrz.uni-koeln.de (Jochen Roderburg) Newsgroups: comp.os.msdos.programmer Subject: Re: Environment size hack in DOS 5? Date: 13 Nov 92 17:27:50 Organization: Regional Computing Center, University of Cologne, F. R. Germany Lines: 22 Message-ID: <A0045.92Nov13172750@berry.rrz.uni-koeln.de> References: <1992Nov12.234502.22273@midway.uchicago.edu> NNTP-Posting-Host: berry.rrz.uni-koeln.de In-reply-to: pynq@quads.uchicago.edu's message of Thu, 12 Nov 1992 23:45:02 GMT