Date: Thu, 18 Jun 1998 09:55:15 +0300 (IDT) From: Eli Zaretskii To: Myknees cc: djgpp AT delorie DOT com, Ian Miller Subject: Re: djgpp find OK? In-Reply-To: <1998061722063000.SAA03249@ladder01.news.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 17 Jun 1998, Myknees wrote: > In article <87wwagdz3k DOT fsf AT hasn DOT dera DOT gov DOT uk>, Ian Miller > 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.