Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: "Laurynas Biveinis" , "DJGPP Workers" Date: Mon, 12 Apr 1999 13:17:35 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: LBInstDJ In-reply-to: <002101be84f8$a8869260$b1003bd4@default> X-mailer: Pegasus Mail for Windows (v2.54) Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk "Laurynas Biveinis" 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