Even though the Win32 limitation for environment variables is 32,767 characters, ...While they seem in some places to mean this as a limit for _one_ variable, it does make me suspicious that somewhere this is a limit for the combination of variables. For instance, in one article for Win2K they explicitly say "The default environment size is 256 bytes, with a maximum possible size of 32 KB."
But I have to say I am ... amazed ... at your IMO excessive use of environment variables to pass values to your programs. I can only think of two explanations: a good idea gone bad through mindless repetition, or you must share this data with other applications that can _only_ use environment variables. If not the latter case then consider re-thinking your use of environment variables. As you can now see, you have ridden this beast into the ground.
In reply to Re: environment limitations
by shenme
in thread environment limitations
by joinersw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |