X-Authentication-Warning: delorie.com: mailnull set sender to opendos-bounces using -f Date: Sat, 5 Jan 2002 13:42:25 +1100 (EST) From: DONALD PEDDER To: Subject: Re: on a related note In-Reply-To: <200201031119.g03BJGE19964@if.pwr.wroc.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: opendos AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: opendos AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > 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. Thinking things might be happenning too fast when run as batch, I put some gaps between them, but it still failed. I also broke it up into separate batch files of 8 each, and it still failed after the first one. I can't understand why the batch file allocations are failing when I have no trouble doing it manually (and the bacth file then works after they've been manually created). Any ideas? I've started looking around the web for some batch-file sites (given the lack of documentation with DR-DOS), but I think this would be a rather unusual problem. It's probably because I have MS-DOS on the laptop. ;-) Thanks, dp.