Mail Archives: opendos/2002/01/05/17:26:35
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 -