Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!princeton!allegra!ulysses!gamma!pyuxww!nvuxj!jag2 From: jag2@nvuxj.UUCP Newsgroups: comp.sys.ibm.pc Subject: DOS 3.2 Environment size fix Message-ID: <165@nvuxj.UUCP> Date: Wed, 11-Feb-87 09:07:33 EST Article-I.D.: nvuxj.165 Posted: Wed Feb 11 09:07:33 1987 Date-Received: Fri, 13-Feb-87 06:32:58 EST Organization: Bell Communications Research, Navesink, NJ Lines: 40 Keywords: desqview [Is there a reason for this anymore?] As a user of the Desqview multi-tasking software I was very much interested in the recent discussion of the environment size issue. It seems that starting the command.com command interpreter from Desqview causes the environment size to be reset to the pitiful 160 byte default. The fix described by someone was to perform the required modification to the copy of command.com residing in the Desqview directory thereby increasing the default size. But alas, DOS 3.2 was not included in the list of fixes that I had compiled from this newsgroup. Perhaps I missed that fix or perhaps no one has bothered to post one so I went ahead and debugged the thing. Here are the results: /* start fix (=carriage return, enter or whatever) */ debug command.com -e 0d4f xxxx:0D4F 0A.32 /* debug prints the 0A. and you type the 32 */ -w -q /* end fix */ The 0A is the hex number of 16 byte pages that dos will allot to environment by default. 32 pages is 50 pages or 800 bytes of environment space. Use whatever amount you feel you need. I must confess that this is essentially the same fix as the 3.1 fix that was posted many moons ago. It was, however, a different address in the code and I did spend many minutes looking for it. If you feel that this information is of some help to you or your company, please feel obligated to send to me a cash gratuity in multiples of $16.00 using only USA hexadecimal currency (via Email). |-} J.A. Gardina @ Bell Communications Research, Inc. ...ihnp4!nvuxj!jag2 or preferably ...ihnp4!wbux2!jag P.S. I must (under duress) also give credit to an associate, Jake Kjelstrup (pronounced "kludge strap"), who was able to save me many more minutes by giving me the appropriate commands to debug. I do detest manuals and his help was nearly invaluable.