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

 
Output of file : PUSHPATH.BAT contained in archive : PUSHPATH.ZIP
echo off
rem p u s h p a t h -- save old path in environment string area
rem
rem note: PushPath and PopPath are complementary and should
rem not be distributed separately!
rem cg july 86
rem
rem use PUSHPATH saves current path in environment area for later
rem POPping
rem PUSHPATH D:\BUNNY same, but changes current path to
rem .. guess what?
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 start with level check . .
if %pstack%~ == ~ goto gotlevel
for %%s in ( pppp ppp pp p ) do if %pstack%~ == %%s~ goto gotlevel

echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º Path stack full -- sorry . . .º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
goto :end
:gotlevel
set pstack=%pstack%p
set oldpath%pstack%=%path%
if %1~==~ goto end
path %1
:end


  3 Responses to “Category : Utilities for DOS and Windows Machines
Archive   : PUSHPATH.ZIP
Filename : PUSHPATH.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/