@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 - SETDRIVE.BAT to set defaults #1-4 to point to the correct location for
echo -              cslist.ndx, cslist.srt, cslist1.ndx, and cslist1.srt.
echo -
echo - Usage:
echo -
echo -      SETDRIVE d "<enter>"
echo -
echo -      where  "d", without the ":", is a single letter for the drive
echo -                  for the \CS Contents_Signature subdirectory.
echo -
goto end
:aa
cls
if "%1" == "" goto help1
fwkcs %1:\cs\cslist.ndx /d1
fwkcs %1:\cs\cslist.srt /d2
fwkcs %1:\cs\cslist1.ndx /d3
fwkcs %1:\cs\cslist1.srt /d4
fwkcs /d
echo         -
echo - in items 1-4, do the entries on right of "=" sign look OK?
goto end
:help1
echo - On what drive is the \cs subdirectory?
echo -
echo -           Please try again.
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
