Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Eli Zaretskii , Kbwms AT aol DOT com, djgpp-workers AT delorie DOT com Date: Tue, 13 Apr 1999 10:37:35 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: LBInstDJ References: In-reply-to: X-mailer: Pegasus Mail for Windows (v2.54) Reply-To: djgpp-workers AT delorie DOT com Eli Zaretskii wrote: > On Mon, 12 Apr 1999, Salvador Eduardo Tropea (SET) wrote: > > > > What do you recommend for those poor souls whose path variable is already > > > filled to overflowing? > > > > Nothing, it needs the user intervention. > > It needs at least to be detected. Here's one way: > > set OLDPATH=%PATH% > set PATH=C:\DJGPP\BIN;%PATH% > if not "%PATH%"=="C:\DJGPP\BIN;%OLDPATH%" echo ERROR I don't fully agree, this should be reported by a tool like djverify because printing error doesn't help the user, but if djverify detects that the djgpp directory isn't in the path but is in the autoexec.bat can give some hints about it (PATH overflow or overwrite or never reached). SET ------------------------------------ 0 -------------------------------- Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(5411) 4759 0013