Category : Utilities for DOS and Windows Machines
Archive   : PUSHPATH.ZIP
Filename : POPPATH.BAT

 
Output of file : POPPATH.BAT contained in archive : PUSHPATH.ZIP
echo off
rem p o p p a t h

for %%s in ( pppp ppp pp p ) do if %pstack%z == %%spz set tmp=%%s
rem
rem pop pushpath's saved path from environment string area
rem Uses brute force method to retrieve saved path.
rem if anyone knows of an elegant way to dynamically
rem build and dereference an environment string name
rem in a batch file, please let me know . . . cg jul 86
rem
rem contributed to public domain on condition that this notice be retained:
rem written by Craig Goodrich
rem Pussycat Systems
rem 17632 Towne Crest Dr
rem Gaithersburg, MD 20877
rem phone (voice) 301 869-2297
rem This program may be freely copied and distributed
rem for non-commercial use only. Commercial users
rem should contact PussyCat at the above address
rem for site licensing information.
rem
goto l%tmp%p
:lppppp
if %oldpathppppp%~ == ~ goto :nopush
path %oldpathppppp%
goto :end
:lpppp
if %oldpathpppp%~ == ~ goto :nopush
path %oldpathpppp%
goto :end
:lppp
if %oldpathppp%~ == ~ goto :nopush
path %oldpathppp%
goto :end
:lpp
if %oldpathpp%~ == ~ goto :nopush
path %oldpathpp%
goto :end
:lp
if %oldpathp%~ == ~ goto :nopush
path %oldpathp%
goto :end
:nopush
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º No path PUSHed -- sorry . . . º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
:end
set pstack=%tmp%
set oldpath%tmp%p=
set tmp=
set pv=


  3 Responses to “Category : Utilities for DOS and Windows Machines
Archive   : PUSHPATH.ZIP
Filename : POPPATH.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/