Category : Tutorials + Patches
Archive   : PKZBENC2.ZIP
Filename : PKZBENCH.BAT

 
Output of file : PKZBENCH.BAT contained in archive : PKZBENC2.ZIP
echo off
if not "%2"=="" goto ready
echo This test compares the performance of various archive utilities by creating,
echo and then extracting from, an archive file. It uses all of the files in a
echo specified directory as the contents of each archive file. The output, including
echo the execution times (as reported by the STOPWATCH program) and the archive
echo sizes, is all redirected to the printer for your perusal and analysis.
echo 
echo --------
echo Syntax PKZBENCH outdir outfile
echo -------- ÄÄÂÄÄÄ ÄÄÄÂÄÄÄ
echo ³ À fully pathed file name for test output
echo À directory (including trailing backslash) for the test
echo ---------
echo Example PKZBENCH \MYDIR\ RESULTS.TXT
echo ---------
echo This will create a slew of archive files and the result file RESULT.TXT in the
echo current directory -- the archives will contain all of the files in the \MYDIR\
echo directory.
goto end
:ready
echo 
echo This test will use different archive packages to create all the archive files
echo listed below file in the current directory. The archives will contain all of
echo the files in the %1 directory. All output, including the execution times
echo (as reported by the STOPWATCH program) and the archive sizes and contents, will
echo be all redirected to the file "%2" for your later analysis. DEPENDING ON HOW
echo MANY FILES YOUR ARE USING, IT MAY TAKE A LONG TIME AND ALOT OF DISK SPACE!
echo 
echo 
echo The %1 directory will be emptied (i.e. DEL *.*) at several points
echo during the test. If all goes well, the %1 directory will have the
echo same files in it after the test as it does now, BUT IF YOU INTERRUPT IT OR IT
echo MISBEHAVES YOU COULD LOSE ALL THE FILES IN THAT DIRECTORY!
echo 
echo The next screen will list the archives that will be
echo created in the current directory.
pause
echo 
echo What Executables Archives created
echo ----- ----------------- ------------------------------------------------
echo ARC ARC.EXE, ARCE.COM PKZBENCH.ARC SEA-standard ARC-style archive
echo 
echo PAK PAK.EXE PKZBENCH.PAK PAK-style archive
echo PKZBENCH.PAR SEA-standard ARC-style archive
echo PKZBENCH.PPK PK-style ARC archive w/squashing
echo 
echo PKARC PKARC/PKXARC.EXE PKZBENCH.APK PK-style ARC archive w/squashing
echo PKZBENCH.ARK SEA-standard ARC-style archive
echo 
echo PKZIP PKZIP/PKUNZIP.EXE PKZBENCH.ZIP ZIP-style archive (default)
echo PKZBENCH.ZP1 ZIP-style archive (compression 1)
echo PKZBENCH.ZP2 ZIP-style archive (compression 2)
echo PKZBENCH.ZP3 ZIP-style archive (compression 3)
echo PKZBENCH.ZP4 ZIP-style archive (compression 4)
echo 
echo ZOO ZOO.EXE PKZBENCH.ZOO ZOO-style archive
echo 
echo WARNING -- If "%1" does NOT end in a backslash (\),
echo press [Ctrl-C] to abort, otherwise you may
pause
echo Creating archives >%2
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%2
command /c $compres %2 ARC .ARC %1 -a
command /c $compres %2 PAK .PAK %1 a
command /c $compres %2 PAK .PAR %1 a /c
command /c $compres %2 PAK .PPK %1 a /s
command /c $compres %2 PKARC .APK %1 a
command /c $compres %2 PKARC .ARK %1 otc a
command /c $compres %2 PKZIP .ZIP %1 -a
command /c $compres %2 PKZIP .ZP1 %1 -a -eb1 -ea1
command /c $compres %2 PKZIP .ZP2 %1 -a -eb2 -ea2
command /c $compres %2 PKZIP .ZP3 %1 -a -eb3 -ea3
command /c $compres %2 PKZIP .ZP4 %1 -a -eb4 -ea4
command /c $compres %2 ZOO .ZOO %1 aP
echo Listing archive contents >>%2
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%2
command /c $content %2 ARC .ARC v
command /c $content %2 PAK .PAK v
command /c $content %2 PAK .PAR vc
command /c $content %2 PAK .PPK vs
command /c $content %2 PKARC .APK -v
command /c $content %2 PKARC .ARK -v
command /c $content %2 PKZIP .ZIP -v
command /c $content %2 PKZIP .ZP1 -v
command /c $content %2 PKZIP .ZP2 -v
command /c $content %2 PKZIP .ZP3 -v
command /c $content %2 PKZIP .ZP4 -v
command /c $content %2 ZOO .ZOO lC
echo Extracting from archives >>%2
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%2
command /c $extract %2 ARC .ARC %1 e *.*
command /c $extract %2 ARCE .ARC %1
command /c $extract %2 PAK .PAK %1 e
command /c $extract %2 PAK .PAR %1 ec
command /c $extract %2 PAK .PPK %1 es
command /c $extract %2 PKXARC .APK %1
command /c $extract %2 PKXARC .ARK %1
command /c $extract %2 PKUNZIP .ZIP %1
command /c $extract %2 PKUNZIP .ZP1 %1
command /c $extract %2 PKUNZIP .ZP2 %1
command /c $extract %2 PKUNZIP .ZP3 %1
command /c $extract %2 PKUNZIP .ZP4 %1
command /c $extract %2 ZOO .ZOO %1 e/ *.*
echo Results are in the ascii file "%2"
:end


  3 Responses to “Category : Tutorials + Patches
Archive   : PKZBENC2.ZIP
Filename : PKZBENCH.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/