Category : System Diagnostics for your computer
Archive   : AZBENCH1.ZIP
Filename : AZBENCH.BAT

 
Output of file : AZBENCH.BAT contained in archive : AZBENCH1.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 AZBENCH outdir outfile
echo -------- ÄÄÂÄÄÄ ÄÄÄÂÄÄÄ
echo ³ À fully pathed file name for test output
echo À directory (including trailing backslash) for the test
echo ---------
echo Example AZBENCH \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
echo HOW MANY FILES YOU 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 AZBENCH.ARC SEA-standard ARC-style archive
echo 
echo LHARC LHARC.EXE AZBENCH.LZH LHARC-style archive
echo 
echo PAK PAK.EXE AZBENCH.PAK PAK-style archive
echo AZBENCH.PAR SEA-standard ARC-style archive
echo AZBENCH.PPK PK-style ARC archive w/squashing
echo 
echo PKZIP PKZIP/PKUNZIP.EXE AZBENCH.ZIP ZIP-style archive (default)
echo AZBENCH.ZPX ZIP-style archive (max compression)
echo 
echo ZOO ZOO.EXE AZBENCH.ZOO ZOO-style archive
echo 
echo WARNING -- If "%1" does NOT end in a backslash (\), or the EXE files listed
echo above are NOT on the current path, 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 LHARC .LZH %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 PKZIP .ZIP %1 -a
command /c $compres %2 PKZIP .ZPX %1 -a -ex
command /c $compres %2 ZOO .ZOO %1 aP
dir AZBENCH.* >>%2
echo Listing archive contents >>%2
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%2
command /c $content %2 ARC .ARC v
command /c $content %2 LHARC .LZH 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 PKZIP .ZIP -v
command /c $content %2 PKZIP .ZPX -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 LHARC .LZH %1 e
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 PKUNZIP .ZIP %1
command /c $extract %2 PKUNZIP .ZPX %1
command /c $extract %2 ZOO .ZOO %1 e/ *.*
echo Results are in the ascii file "%2"
:end


  3 Responses to “Category : System Diagnostics for your computer
Archive   : AZBENCH1.ZIP
Filename : AZBENCH.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/