| delorie.com/archives/browse.cgi | search |
At 06:41 PM 8/4/01 +0300, Eli Zaretskii wrote:
>> Date: Sat, 04 Aug 2001 11:22:11 -0400
>> From: "Peter J. Farley III" <pjfarley AT dorsai DOT org>
>>
>> Note that the ENVIRONMENT size (/E:) is allowed to be up to
32768. I
>> think that is the size you need to allow for.
>
>That's the upper limit, but it is for all of the variables combined.
>An individual variable's value cannot be larger than 1024 on Windows
>9X; if you try, you will crash COMMAND.COM.
OK, I thought that was a buffer for the whole environment. My mistake,
and sorry for jumping in with both feet.
One other thought, based on my lack of knowledge: Does that 1024 limit
include the variable name? Could there need to be an allowance for a
name + 1024 of value?
HTH
---------------------------------------------------------
Peter J. Farley III (pjfarley AT dorsai DOT org OR
pjfarley3 AT escape DOT com)
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |