Category : Files from Magazines
Archive   : VOL9N09.ZIP
Filename : PUSHP2.BAT

 
Output of file : PUSHP2.BAT contained in archive : VOL9N09.ZIP



:==========================================================:
: PUSHP2.BAT :
: Save current path on "stack" of setpath variables. :
:==========================================================:
@echo off

set N=
IF "%SETPATH3%"=="" SET N=SETPATH3
IF "%SETPATH2%"=="" SET N=SETPATH2
IF "%SETPATH1%"=="" SET N=SETPATH1

if "%N%"=="" goto ERROR
SET %N%=%PATH%
set N=
goto END
:ERROR
echo.
echo PUSHPATH ERROR: Path stack overflow...
echo  | pause > nul:
:END