home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
WILD401.ZIP
/
EXAMPLES.ARJ
/
PKT.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-03-17
|
1KB
|
43 lines
@echo off
if '%1'=='?' goto HELP
if '%1'=='' goto WILD
if '%1'=='*' goto WILD
if '%1'=='/p' if %2==* goto WILD
if '%1'=='/P' if %2==* goto WILD
if '%1'=='/p' pkunzip -t %2 %3 %4 %5 %6 %7 %8 %9 | more
if '%1'=='/p' goto END
if '%1'=='/P' pkunzip -t %2 %3 %4 %5 %6 %7 %8 %9 | more
if '%1'=='/P' goto END
pkunzip -t %1 %2 %3 %4 %5 %6 %7 %8 %9
goto END
:WILD
if '%1'=='/p' Wild /ip pkunzip *.ZIP -t wild %3 %4 %5 %6 %7 %8 %9 = more
if '%1'=='/p' goto END
if '%1'=='/P' Wild /ip pkunzip *.ZIP -t wild %3 %4 %5 %6 %7 %8 %9 = more
if '%1'=='/P' goto END
Wild /ip pkunzip *.ZIP -t wild %2 %3 %4 %5 %6 %7 %8 %9
goto END
:HELP
echo.
echo.======================================================================
echo PKT.BAT - Haris Courouclis (CADMOS), 1990
echo ----------------------------------------------------------------------
echo FORMAT: PKT [/p] ZipFile [filespec..]
echo or PKT [?]
echo PKT calls PKUNZIP with -t to test ZipFile intergrity.
echo A ZIP file name is expected, or * when all ZIP files in current dir
echo are tested.
echo When filespec is supplied, only files specified are tested within
echo the ZIP file.
echo With /p output for each ZIP file is filtered to MORE
echo With ? or no parameters, this HELP screen appears.
echo.======================================================================
echo.
:END
echo.