AR> HP> What I'm looking for is to semi-permanently way to add another
AR> HP> sub-directory to the PATH already set.
AR> Prepath.bat:
AR> @echo off
AR> if not _%OLDPATH%_ ==__ goto NOTNEW
AR> rem existing 'oldpath' will not be changed.
AR> rem DON't put the if on a single line with the set ...
AR> set OPATH=%PATH% <---
AR> :NOTNEW o
AR> PATH %1;%PATH% o
p
AR> Oldpath.bat: s
!
AR> PATH %OLDPATH% >----
___
þ SLMR 2.1a þ When I fight, it's face-to-face; inuendo is wasted effort
--- Silver Xpress Mail System 5.03M1
---------------
* Origin: Salata * Redondo Beach, CA * 310-543-0439 28.8k (1:102/125)
|