X-Authentication-Warning: delorie.com: mailnull set sender to opendos-bounces using -f Date: Sun, 6 Jan 2002 16:40:19 +1100 (EST) From: DONALD PEDDER To: Subject: Re: on a related note In-Reply-To: <000001c19638$1bedf880$c03dfea9@atlantis> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id g065eeu32526 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 > Hm, itīs difficult to guess from here what your actual setup is, > but to me this looks as if you are running your batch job from > within a temporary instance of the command processors (maybe under > a rather old issue of DOS). Are you shelling out from within some > other program? I was about to say "I'm just running a batch file under DR-DOS 7.03", but then remembered this is on my lap-top. :-) Not sure offhand what version of MS-DOS it is. The lap-top is only about 3-4 years old. It has Win95, so that makes it as least MS-DOS 6 from memory. For those who are wondering, I'm not installing DR-DOS on it until I can do a fresh install from scratch (format disk, etc.), which means making sure I download all the drivers I need for it and save them to floppy (and am absolutely certain I have them all and aren't about to kill my computer due to missing a driver). > Are you using COMMAND.COM as command processor Yes. Just typing in the batch-file name (and parameters) in the MS-DOS session. > Try to increase the environment space by using the /E:size option Yes, I thought there'd be something like this, but couldn't find anything obvious in the doco. (I found the error message stating what it means, but it doesn't give the info that you just did, which is what you WANT to find when you look up an error message). > BTW. DR-DOS and lack of documentation?!? Run DOSBOOK and you get > worth hundreds of pages of user documentation, But not on batch-files. The commands as such are documented, but very little mention of batch-files is made. For example, I didn't know about having to use the "call" function to have control always returned. If you already KNOW of the "call" command, it is there in DOSBOOK, but there is no section on batch-files saying "you should use the 'call' command to nest batch-files", or "you may need to alter config.sys if passing a lot of parameters to your batch file" (remember, I had no trouble setting a large number of variables manually). There is no "writing batch-files" topic. Thanks. dp.