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

 
Output of file : X.BAT contained in archive : SQZ1083E.ZIP
@echo off
:MAIN
shift
if "%0" == "" goto END
if not exist %0.* goto NO_FILES
if exist %0.sqz goto SQZ
if exist %0.arj goto ARJ
if exist %0.lzh goto LHA
if exist %0.zip goto ZIP
if exist %0.arc goto ARC
if exist %0.hpk goto HPK
echo Unknown archive type (%0.???)!
echo Knows about SQZ/ARJ/LHA/ZIP/ARC/HPK
goto END
:SQZ
sqz x %0 /z1 %0\
if errorlevel 128 goto MAIN
if errorlevel 1 goto END
goto MAIN
:ARJ
arj x -p1 -e1 -u -y -jl %0
if errorlevel 1 goto END
goto MAIN
:LHA
lha x -m1 %0 *.*
if errorlevel 1 goto END
goto MAIN
:ZIP
pkunzip -d -n %0 *.* %0\
if errorlevel 1 goto END
goto MAIN
:ARC
md %0
pkxarc /x %0 *.* %0\
if errorlevel 1 goto END
goto MAIN
:HPK
hpack x -r %0 *
if errorlevel 1 goto END
goto MAIN
:NO_FILES
echo Couldn't find file (%0.*)
goto MAIN
:END


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