Mail Archives: djgpp-workers/1999/04/13/09:35:16
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> 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
- Raw text -