Mail Archives: djgpp/2000/05/17/11:05:34
Josh Haglund a écrit :
>
> @echo off
> Where would I put the lines in this?
> How about someone send me everything they think I need? Ready to go?
>
> if "%2" == "" goto error
>
> rem Everything else is set in djgpp.env now.
> set DJGPP=%2/djgpp.env
>
> rem Don't forget to change your PATH!
>
> goto exit
>
> :error
> echo.
> echo You must call this with DJGPP's installation directory passed
> echo twice, first with DOS-style slashes, then with Unix-style
> echo slashes. Example:
> echo.
> echo c:\stuff\djgpp\setdjgpp c:\stuff\djgpp c:/stuff/djgpp
> echo.
>
> :exit
>
Oops! this setdjgp.bat is a remnant of very old versions of djgpp which
is of no more use now.
I was meaning create a _new_ setdjgpp.bat containing only the two lines
set DJGPP=c:\djgpp\djgpp.env
PATH=.\;C:\DJGPP\BIN;%PATH%
then create a specialized dos box by copying e.g. the "dos command"
shortcut which is usually contained in the directory
windows/startup/programs into the same directory with a new name e.g.
"DOS Box for DJGPP": Then right click "properties" on this new shortcut,
then click the "program" tab and fill the middle line which should read
something like "batch file" (don't know exactly, I have a french version
of W98) with c:\djgpp\setdjgpp.bat (if it is in this directory). When
you will launch the shortcut by clicking startup/program this batch file
will be executed immediately at startup, setting up automatically and
only temporarily what you need for djgpp without reboot nor interference
with other programs which could not like what is contained in your
djgpp\bin path, if you put these lines in autoexec.bat.
--
Maurice Lombardi
Laboratoire de Spectrometrie Physique,
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex FRANCE
Tel: 33 (0)4 76 51 47 51
Fax: 33 (0)4 76 51 45 44
mailto:Maurice DOT Lombardi AT ujf-grenoble DOT fr
- Raw text -