@echo off
if "%2" == "..1.12" goto us1
cls
echo - For use with FWKCS(TM) Contents_Signature System.
echo - (C)Copyright Frederick W. Kantor 1991. All rights reserved.
echo -
:us1
echo - KEEPMACS.BAT for use in upgrading from FWKCS.COM version 1.09, or later,
echo -              to version 1.12.
echo - Usage:
echo -
echo -      KEEPMACS "<enter>"
echo -
echo -  To install old macros in a new copy of FWKCS.COM,
echo -    put KEEPMACS.BAT and the new FWKCS.COM in a subdirectory,
echo -    with access via PATH to the old FWKCS.COM from which to get the macros.
echo -
if "%1" == "/*" goto us2
echo -  If your system is not set up this way, please quit.
echo -
echo -     To quit, press Ctrl+C, then y
echo -
pause
cls
ren FWKCS.COM *.NEW
FWKCS [b] [-macrob##.tmp]
FWKCS [c] [-macroc##.tmp]
FWKCS [d] [-macrod##.tmp]
FWKCS [e] [-macroe##.tmp]
FWKCS [f] [-macrof##.tmp]
ren FWKCS.NEW *.COM
FWKCS [+macrob##.tmp] /db
FWKCS [+macroc##.tmp] /dc
FWKCS [+macrod##.tmp] /dd
FWKCS [+macroe##.tmp] /de
FWKCS [+macrof##.tmp] /df
del macro?##.tmp
cls
FWKCS /d
echo      -
echo please look at the path settings, and set them appropriately.
: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
