delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/2002/01/05/17:26:35

X-Authentication-Warning: delorie.com: mailnull set sender to opendos-bounces using -f
Message-ID: <000001c19638$1bedf880$c03dfea9@atlantis>
From: "Matthias Paul" <Matthias DOT Paul AT post DOT rwth-aachen DOT de>
To: <opendos AT delorie DOT com>
References: <Pine DOT GSO DOT 4 DOT 33 DOT 0201051445320 DOT 7612-100000 AT jedi DOT apana DOT org DOT au>
Subject: Re: on a related note
Date: Sat, 5 Jan 2002 23:04:03 +0100
Organization: University of Technology, RWTH Aachen, Germany
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g05MQNw26488
Reply-To: opendos AT delorie DOT com

On 2002-01-05, "DONALD PEDDER" <jims_son AT jedi DOT apana DOT org DOT au> wrote:

>    SOLUTION: I didn't think it was going to make a difference, but I
> decided to see if it'd work if I set the variables in the autoexec, and it
> did! Not a very elegant solution, but....
>    If I create them all in the autoexec, with strings at least as long as
> what their new values are going to be, then the batch file will work.
> Since the autoexec is just a batch file itself, I don't know why this
> would make a difference, but for some reason I am limited in the number of
> environment variables I can create fresh in another batch file.

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 have seen such effects under PC DOS 3.x a long time ago. Are you
using COMMAND.COM as command processor or a 3rd party tool like
4DOS/NDOS (4DOS has some special options to fine-tune this behaviour)?

Try to increase the environment space by using the /E:size option
when you define the primary command processor in CONFIG.SYS SHELL=.
If this does not help, then just run COMMAND.COM /E:size from the
prompt (with size matching your particular needs, say 512 bytes
more than the value used in CONFIG.SYS). Then run your batch
and see if this helps. If it does, you can create some easier
shortcut for this later. (You can exit back to the original shell
with EXIT.)

Greetings,

 Matthias

BTW. DR-DOS and lack of documentation?!? Run DOSBOOK and you get
worth hundreds of pages of user documentation, well this only
covers a fraction of the functionality. Additionally, get MPDOSTIPs
from my web-site for some extra documentation and also check
http://www.drdos.org and http://www.drdos.net for tips.

-- 

<mailto:Matthias DOT Paul AT post DOT rwth-aachen DOT de>; <mailto:mpaul AT drdos DOT org>
http://www.uni-bonn.de/~uzs180/mpdokeng.html; http://mpaul.drdos.org


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019