Mail Archives: djgpp/1999/01/09/08:39:48
> 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 -