From: Kbwms AT aol DOT com Message-ID: Date: Thu, 15 Apr 1999 11:23:44 EDT Subject: Re: LBInstDJ To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) CC: djgpp-workers AT delorie DOT com, lauras AT softhome DOT net MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: AOL 3.0 16-bit for Windows sub 38 Reply-To: djgpp-workers AT delorie DOT com Subj: Re: LBInstDJ To: eliz AT is DOT elta DOT co DOT il CC: djgpp-workers AT delorie DOT com Dear Eli Zaretskii, On 04-15-99 at 06:32:10 EST you wrote: > > > 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. > Here's another line from my autoexec.bat (read-only) file: PATH %djdir%\BIN;C:\;C:\DOS;C:\USR\BIN;C:\QUICKEN;C:\WINDOWS What's more, I have 19 aliases in alias.sys for my KornShell based on the setting of djdir at startup (i.e. before DJGPP gets started). I suppose I could use a name like djdirt to avoid a collision but by the time the collision might occur, all uses of the name `djdir' are complete. Besides, the startup code stores its own value over mine and I really mean for them to be the same anyway. K.B. Williams