delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/02/16:28:04

Date: Mon, 2 Feb 1998 19:28:34 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Nate Eldredge <eldredge AT ap DOT net>
cc: Thomas Demmer <demmer AT lstm DOT ruhr-uni-bochum DOT de>, djgpp AT delorie DOT com
Subject: Re: increasing environment space
In-Reply-To: <199802020240.SAA15942@adit.ap.net>
Message-ID: <Pine.SUN.3.91.980202192658.19322Y-100000@is>
MIME-Version: 1.0

On Sun, 1 Feb 1998, Nate Eldredge wrote:

> >Yes, but doesn't it only get a copy of the environment in use?
> >That's why you should place the SET foo=bar commands in your
> >autoexec.bat _after_ the TSR's.
> Does it? I suppose that makes sense; I don't really know. :)

Yes, it does.  Try shelling out of a program, then add a long environment 
variable: you will get "Out of environment space".

> Thinking some
> more, I guess you're right. COMMAND.COM does still eat an amount of
> conventional memory equal to what you specify, of course.

COMMAND.COM which comes with Windows 95 is somewhat smarter about this.

- Raw text -


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