🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.misc
Article #1907

Re: MS-DOS Environment Space

#1907
From: Lance Franklin
Date: Wed, 23 Nov 1988 04:05
30 lines
1949 bytes
In article <685@optilink.UUCP> cramer@optilink.UUCP (Clayton Cramer) writes:
>In article <[E.ISI.EDU]17-Nov-88.15:23:42.SAC.96BMW-LGSPP>, SAC.96BMW-LGSPP@E.ISI.EDU writes:
>>   Does anyone have any tips/tricks/secrets/etc... on how to get extra
>> environment space in DOS?   The /e: parameter doesn't seem to help me
>> out any..   Does anyone have any other way of doing it?
>Add this line to your CONFIG.SYS file, and make sure it's the first
>line:
>
>    SHELL=c:\command.com /E:330 /P
>
>"330" of course is the number of paragraphs of environment space you
>want.

Under MS-DOS 3.1 (and 3.2, I think) it's the number of paragraphs (and quite
a hefty number...you've just allocated 5280 bytes for the environment).  Under
MS-DOS 3.3, it's the number of bytes, rounded up to the nearest 16 byte
paragraph, in which case, you've just allocated 336 bytes for the environment.

Also, you might want to check the latest ibm.pc.digest...someone showed a
patch for command.com (well, at least an instruction to change) that ensures
that command.com will always allocate the amount of environment space you
want, even when it's a child process to the main command.com.
 
Lance

-- 
+-------------------------+ +-----------------------------------------------+
| Lance T Franklin        | | I never said that! It must be some kind of a  |
| ltf@killer.DALLAS.TX.US | | forgery...I gotta change that password again. |
+-------------------------+ +-----------------------------------------------+
Technical Details
Message-ID: <6202@killer.DALLAS.TX.US>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!convex!killer!ltf
References: <[E.ISI.EDU]17-Nov-88.15:23:42.SAC.96BMW-LGSPP> <685@optilink.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!convex!killer!ltf
From: ltf@killer.DALLAS.TX.US (Lance Franklin)
Newsgroups: comp.sys.misc
Subject: Re: MS-DOS Environment Space
Message-ID: <6202@killer.DALLAS.TX.US>
Date: 23 Nov 88 04:05:19 GMT
References: <[E.ISI.EDU]17-Nov-88.15:23:42.SAC.96BMW-LGSPP> <685@optilink.UUCP>
Reply-To: ltf@killer.Dallas.TX.US (Lance Franklin)
Organization: The Unix(R) Connection BBS, Dallas, Tx
Lines: 30