#3DS2 out of env. space
3 messages in this thread
Tim, Out of Environment Space is a DOS error. You're trying to set to many
environ variables via batch files probably. You need to add a
SHELL=C:\COMMAND.COM /E:XXXX /P to your config.sys – first line is a good
place.
the XXXX is the size to increase it to. Try 256 or therabouts to begin with.
I've seen up to 1024 also.
Hope that helps.
Dave Mennenoh
Thanks David,
I've tried it, but I'll move it to the first line. I've had it set to the
maximum (somthing like 30000+!) and still got the messages.
Tim
You cannot "set" much variables in a secondary shell (what you get when you
"shell out" of 3DS or any other program). Regardless the amount of environment
space you have set in CONFIG.SYS, the secondary shell's environment will only
be as big as the size of the "used portion" of your master environment. You
have two options. Set those variables before you run 3D Studio. If you cannot
do that, set some dummy variables before you run 3D Studio, shell out to your
batch file, clear those variables and then set your own. By setting dummy
variables, you are causing the secondary shell to be as big as your master
environment "plus" that garbage. When in the secondary shell, you can clear
the dummies and use its space for something useful.
Just set something like:
SET DUMM1=QWERTYUIOPASDFGHJKLZXCVBNMMNBVCXZLKJHGFDSAPOIUYTREWQ
SET DUMM2=QWERTYUIOPASDFGHJKLZXCVBNMMNBVCXZLKJHGFDSAPOIUYTREWQ
SET DUMM3=QWERTYUIOPASDFGHJKLZXCVBNMMNBVCXZLKJHGFDSAPOIUYTREWQ
In your batch file, start with clearing those dummies and then set your own:
SET DUMMY1=
SET DUMMY2=
SET DUMMY3=
SET MYSTUFF=WHATEVERYOUWANTHERE