www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/17/11:05:34

From: Maurice Lombardi <Maurice DOT Lombardi AT ujf-grenoble DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: setdjgpp
Date: Wed, 17 May 2000 15:38:59 +0200
Organization: Universite Joseph Fourier - Grenoble 1
Lines: 56
Message-ID: <3922A0F3.DD0A2728@ujf-grenoble.fr>
References: <Pine DOT LNX DOT 4 DOT 10 DOT 10005142307200 DOT 1101-100000 AT vsnl DOT net DOT in> <001901bfbdae$102ff200$da13ddcc AT lhaglund> <391F4B05 DOT 67D60D9B AT yahoo DOT com> <001301bfbdf9$7121a540$1d12ddcc AT lhaglund> <392177F3 DOT DD0056E4 AT ujf-grenoble DOT fr> <000901bfbf8f$a6460b20$e813ddcc AT lhaglund>
NNTP-Posting-Host: knautie.ujf-grenoble.fr
Mime-Version: 1.0
X-Trace: amazone.ujf-grenoble.fr 958571459 64899 193.54.234.27 (17 May 2000 13:50:59 GMT)
X-Complaints-To: abus AT ujf-grenoble DOT fr
NNTP-Posting-Date: 17 May 2000 13:50:59 GMT
X-Mailer: Mozilla 4.7 [fr] (Win98; U)
X-Accept-Language: fr,it,en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


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