@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 - EXCLUDE.BAT
echo -
echo - To mark material for automatic exclusion from your BBS:
echo -   if an incoming zipfile contains the item, the whole file is
echo -   excluded. (E.g., to protect against uploading commercial
echo -   software.)
echo -
echo - Usage:
echo -
echo -       EXCLUDE unwanted "<enter>"
echo -
echo - for explanation, see FWKCS112.REF, options /1fp, /a7.1, /u,
echo -   and special Column 17 flags.
echo -
goto end
:aa
if "%1" == "" goto nd
if not exist %1 goto nf
fwkcs /1fp %1 | qsort | fwkcs /a7.1x | fwkcs /u
goto end
:nd
echo -
echo -  Nothing to do!
goto usage
:nf
echo -
echo -  Did not find  %1
goto usage
: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
