Date: Thu, 15 Apr 1999 13:30:10 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Kbwms AT aol DOT com cc: djgpp-workers AT delorie DOT com, lauras AT softhome DOT net Subject: Re: LBInstDJ In-Reply-To: <499ba32b.2444ea97@aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 13 Apr 1999 Kbwms AT aol DOT com wrote: > > if "%config%"=="CONFIG-NAME" PATH C:\DJGPP\BIN;%PATH% > > if "%config%"=="CONFIG-NAME" set DJGPP=C:\DJGPP\DJGPP.ENV > > > > I assume you mean that user's %djgpp% definition should be used? > For example, in my autoexec.bat I have: > > set djdir=c:\djgpp.v2 > set djgpp=%djdir%\djgpp.env I don't think it's a good idea to set DJDIR, since the startup code computes it. And I don't see any advantage to using it in the above context. > > The above still has some cases not covered, but those would be rare > > (in my experience). > > If you know of these rare cases, please reveal them. Not every configuration arrives at the end of autoexec.bat. The solution I proposed adds entries at the end, so it requires that all configurations wind up there eventually.