delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/27/02:05:23

Sender: tim AT picard DOT skynet DOT be
Message-ID: <3B610425.4EED93F5@falconsoft.be>
Date: Fri, 27 Jul 2001 08:03:18 +0200
From: Tim Van Holder <tim DOT vanholder AT falconsoft DOT be>
Organization: Anubex N.V.
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.16-3 i686)
X-Accept-Language: en, nl-BE, nl
MIME-Version: 1.0
To: Hwrd121 <hwrd121 AT cs DOT com>, djgpp AT delorie DOT com
Subject: Re: autoexec.bat Problem win me
References: <20010726161529 DOT 06843 DOT 00001464 AT ng-fy1 DOT news DOT cs DOT com>
Reply-To: djgpp AT delorie DOT com

Hwrd121 wrote:
> 
> I am trying to install DJGPP, I went to change my autoexec.bat file as the
> documentation says
> 
> set PATH=C:\DJGPP\BIN;%PATH%
> set PATH=C:\DJGPP\DJGPP.ENV
> 
> I am using windows ME and Using notepad as a text editor, I add these lines,
> save  it then close out and reboot. When I reboot the first line that I added
> has been removed from my autoexec.bat file. how do I get this to stick?

By actually prepending 'C:\DJGPP\BIN;' to the existing 'set PATH'; WinME
allows
a variable to be defined only once in autoexec.bat, so setting PATH to
'blah;%PATH%' won't work.  So you'll probably end up with

set PATH=C:\DJGPP\BIN;C:\WINDOWS\COMMAND;C:\WINDOWS

Also, in the second line, you should be saying

set DJGPP=C:\DJGPP\DJGPP.ENV
    ^^^^^

-- 
Tim Van Holder - Anubex N.V.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This message was posted using plain text. I do not endorse any
products or services that may be hyperlinked to this message.

- Raw text -


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