@echo off
if "%2" == "..1.12" goto us1
cls
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 - 0_SETUP.BAT to unzip the FWKCS(TM) Contents_Signature System from
echo -             FWKCS112.ZIP into the current directory.
echo -
echo - This program is used in the same directory with FWKCS112.ZIP.
echo -
echo -
echo - Usage:
echo -
echo -      0_SETUP "<enter>"
echo -
if "%1" == "/*" goto us2
echo -  To quit, press Ctrl+C, then y
echo -
pause
if not exist fwkcs112.zip goto nd
if exist !! attrib -r !! > nul
if exist !! del !! > nul
pkunzip fwkcs112 !! > nul
if not exist !! goto nz
pkunzip -o fwkcs112 @!!
del !! > nul
if not exist fwkdg108.scr goto ns
echo -    The FWKCS(TM) Contents_Signature System has now been
echo -    unzipped from FWKCS112.ZIP into the default directory.
echo -
echo -    If you upload any of this to an electronic bulletin board system,
echo -    send only FWKCS112.ZIP in its original Authenticity Verification
echo -    Zipfile, copyright (C) 1988-1991 by Frederick W. Kantor.
echo -
echo -    In your description, instruct the new user to first do
echo -    PKUNZIP FWKCS112 SETUP.112 "<enter>"
echo -    and to then follow the instructions in SETUP.112.
echo -
echo -    OR  to first do  PKUNZIP FWKCS112 GO.BAT "<enter>"
echo -    and to then run  GO "<enter>"
goto end
:ns
echo -
echo - There is apparently not enough space here for me to work in...
echo -
echo - After you have provided more space here, or moved my files to
echo -   another drive with enough space...
goto tr
:nd
echo -
echo - Did not find FWKCS112.ZIP.
goto helpr
:nz
echo -
echo - Where is Phil Katz's PKUNZIP(R)?
:helpr
echo -
echo - Please see SETUP.112, and then
:tr
echo -
echo -           Please try again.
:end
echo -
:us2
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
