X-Authentication-Warning: delorie.com: mailnull set sender to opendos-bounces using -f Message-ID: <3C377D23.19FB8436@nls.net> Date: Sat, 05 Jan 2002 14:24:35 -0800 From: J Yazel X-Mailer: Mozilla 4.06 [en] (Win95; I; 16bit) MIME-Version: 1.0 To: opendos AT delorie DOT com Subject: Re: on a related note References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: opendos AT delorie DOT com DONALD PEDDER wrote: > > > SET PAR1=%1 > > SET PAR2=%2 > > SHIFT > > SHIFT > > Yes, this has ALMOST solved my problem. :-) :-( > > I have 25 parameters to pass to the batch file, which then recursively > calls my pascal program with different parameters each time. I was able to > do up to 9 in a single batch file with no problem. > > I tried using this approach to set 25 environment variables, and I got > "out of environment space" after the 8th. The thing is, I was able to > MANULLY set these variables, and after I've set them MANUALLY, the batch > file will work, but with a clean sheet to start with, the batch file only > allocates a certain number before it hits this problem. > ------------------------- Put the following line in your CONFIG.SYS file, reboot and try the batch file again. shell=c:\command.com c:\ /e:512 /p The e: parameter sets the new environment size. You can enter: command /? on a DOS line to get an explanation of the parameters. Jack