www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/18/02:55:48

Date: Thu, 18 Jun 1998 09:55:15 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Myknees <myknees AT aol DOT com>
cc: djgpp AT delorie DOT com, Ian Miller <itmiller AT dera DOT gov DOT uk>
Subject: Re: djgpp find OK?
In-Reply-To: <1998061722063000.SAA03249@ladder01.news.aol.com>
Message-ID: <Pine.SUN.3.91.980618095445.23552J-100000@is>
MIME-Version: 1.0

On 17 Jun 1998, Myknees wrote:

> In article <87wwagdz3k DOT fsf AT hasn DOT dera DOT gov DOT uk>, Ian Miller
> <itmiller AT dera DOT gov DOT uk> writes:
>
> >Yes, unfortunately under Windows 95 the the OS intervenes and inserts
> >C:\WINDOWS and C:\WINDOWS\COMMAND at the front of the path if they aren't
> >there already. Once you're in the DOS box you can set PATH to what you
> >want, but it's not as convenient as just setting it in AUTOEXEC.BAT so I
> >generally don't bother. The installation instructions could usefully
> >mention this.
> 
> I don't know: I just changed my autoexec.bat path statement to this:
> set path=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ELC\DOS
> set path=C:\ELC\DJGPP\BIN;%PATH%;C:\ELC\PERL\BIN;c:\elc\rsxntdj\bin
> 
> ..and it comes out like you'd expect, with djgpp first.  In Windows.

The solution to this nasty habit of Windows 9X is indeed to set PATH
explicitly, with the above two directories part of it, but in your
preferred order.  Do NOT use %PATH%, set it explicitly like in the
example above.

- Raw text -


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