delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/09/08:39:48

Message-ID: <36975B7D.63FE44A0@net4you.co.at>
Date: Sat, 09 Jan 1999 14:37:02 +0100
From: Seawolf <seawolf AT net4you DOT co DOT at>
X-Mailer: Mozilla 4.07 [de] (Win98; I)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Need to Know
References: <6dd73a43 DOT 36974c3d AT aol DOT com>
Reply-To: djgpp AT delorie DOT com

> I just got a knew computer running windows 98 and i can't get the path set
> I've done hours of reading and still haven't found anything my old system had
> windows 95 and I wrote a command line at the dos prompt that looked like:  set
> DJGPP=C:\DJGPP\DJGPP.ENV < C:\AUTOEXEC.BAT
> and it put it in my autoexec.bat file just fine and now it just erases my
> whole autoexec.bat file. Please if you could give me some answers it would
> help alot. Thankyou

First, you can't set the PATH permanently in a DOS box under WIN9x.
And things like set DJGPP=... < C:\AUTOEXEC.BAT will never work.
You have to type either a > (that means redirect to / create new file or overwrite
file)
or >> (redirect to / append to the file).
Second, the slashes have to be unix style I think: /

So just open your AUTOEXEC.BAT with Notepad or EDIT or something similiar and
append this line:

set DJGPP=c:/djgpp/djgpp.env

or in a dos box type

echo set DJGPP=c:/djgpp/djgpp.env >> C:\AUTOEXEC.BAT

(This appends the line "set DJGPP=c:/djgpp/djgpp.env" to C:\AUTOEXEC.BAT)

(Sorry for bad English!)

----------
Thomas Wolf (seawolf AT net4you DOT co DOT at)
"Hardware is fast enough to do interesting things, but not fast enough to do what
we
really want." -- Michael Abrash / id Software


- Raw text -


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