Category : Files from Magazines
Archive   : VOL8N21.ZIP
Filename : CHG.BAT
REM CHG.BAT a new version of PC MAGAZINE's CHPATH Utility (in Vol.7 Num.4)
IF !%3==! GOTO ERROR
CALL UPCASE V@ %1
IF !%V@%==!PATH SET V$=%PATH%
IF !%V@%==!APPEND SET V$=%APPEND%
IF !%V$%==! GOTO ERROR
%V@% > L_%V@%.BAT
CALL UPCASE M %2
CALL UPCASE P %3
IF !%P%==!-DB CHG_SET1 %V$%
IF !%P%==!-DE CHG_SET2 %V$%
IF !%P%==!-I CHG_SET3 %V$%
IF !%P%==!-B %V@%=%M%;%V$%
IF !%P%==!-E %V@%=%V$%%M%;
REM IF you don't end your path with a semicolon, change
REM the line above to "IF !%P%==!-E %V@@%=%V$%;%M%"
%V@%
SET M=
SET P=
SET V$=
GOTO END
:ERROR
ECHO Proper syntax is:
ECHO %0 {PATH ³ APPEND} DIRECTORY {-B ³ -E ³ -I ³ -DB ³ -DE }
:END
SET V@=
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
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/