@echo off
if not "%1" == "/*" goto aa
if "%2" == "..1.12" goto us1
cls
goto us0
:usage
echo -
:us0
echo - For use with FWKCS(TM) Contents_Signature System, Version 1.12.
echo - (C)Copyright Frederick W. Kantor 1991. All rights reserved.
echo -
:us1
echo - ACCESZIP.BAT for accessioning zip or plain files,
echo -              uses Phil Katz's PKUNZIP(R) to unzip zipfiles,
echo -              can perform a variety of tests, and
echo -              can rename files which do not pass the tests.
echo -              This uses the options set in FWKCS macro [b].
echo -
echo - Usage:
echo -
echo -       ACCESZIP filename.ext "<enter>"
echo -
echo - Note: A short form, ACCZIP.BAT, can be made directly from FWKCS.COM.
echo -       The short form does not provide on_line help.
echo -       It uses the error_logging capabilities of FWKCS.COM, and may
echo -         be called more efficiently from other .BAT programs.
echo -
echo -       To make short_form ACCZIP.BAT, type  FWKCS /a4m "<enter>"
echo -
echo - for explanation, see FWKCS112.REF, Auxiliary Function 4.
goto sp
:aa
if "%1" == "" goto nd
if not exist %1 goto nf
fwkcs %1 /a4[b]
goto end
:nd
echo -
echo -  Nothing to do!
goto usage
:nf
echo -
echo -  Did not find  %1 .
goto usage
:sp
echo -
:end
if not "%2" == "..1.12" goto zz
if exist QUERYFLA.GUP attrib -r QUERYFLA.GUP > nul
if exist QUERYFLA.GUP del QUERYFLA.GUP > nul
:zz
