Mail Archives: djgpp-workers/1999/04/12/12:14:58
"Laurynas Biveinis" <lauras AT softhome DOT net> wrote:
> I will do this too, but for other purpose - I will insert %PATH% in any
> path setting lines where it is missing.
Why?! it will change the path it could even break the system, why if the user
have a path that overwrites other you want to break it?
And your solution doesn't work in multiconfiguration cases, while the thing
I'm propposing looks like will work at least in most of these cases. See this
example:
PATH C:\DOS
goto %config%
:User1
PATH=D:\DOS
goto end
:User2
goto end
:User3
PATH=%PATH%;D:\EXTRA
goto end
:end
Now what I say is:
PATH C:\DOS
PATH=c:\djgpp\bin;%PATH%
goto %config%
:User1
PATH=D:\DOS
PATH=c:\djgpp\bin;%PATH%
goto end
:User2
goto end
:User3
PATH=%PATH%;D:\EXTRA
goto end
:end
It isn't perfect. Why? think about it in the end:
PATH=c:\borland;%PATH%
That's why an installer *must* be complemented by djverify.
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 -