Hi MARTY,
On 11 Jun 96, 10:43, MARTY TABNIK wrote to AUKE REITSMA
AR> HP>> What I'm looking for is to semi-permanently way to add
AR> HP>> another 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
MT> p
AR>> Oldpath.bat: s
MT> !
AR>> PATH %OLDPATH% >-+--
Severe OOPS indeed. :-(
Greetings from
_____
/_|__| Auke Reitsma, Delft, The Netherlands.
/ | \ --------------------------------------
email: Auke.Reitsma@ net.HCC.nl (without space ... )
--- GEcho 1.00
---------------
* Origin: Home by the C (2:281/400.20)
|