echo off
cls
if %1: == : goto message
echo - i will need QSORT available on your path to use for this, and
echo - FWKDG and FWKCS here where i am now
echo - (please see FWKCS106.DOC for explanation and credits)
echo -
echo -  if any of these four is not set up that way, please press Control_Break
echo -  and then press  y
echo -
pause
cls
fwkcs %1:\cs\cslist.ndx /d1
fwkcs %1:\cs\cslist.srt /d2
fwkcs %1:\cs\cslist1.ndx /d3
fwkcs %1:\cs\cslist1.srt /d4
cls
fwkcs /d
echo      ------
echo -
echo -     do defaults #1-4 on the right of the "=" look OK?
echo -     if not, press Ctrl_Break, then  y
pause
cls
md %1:\cs
attrib -r %1:\cs\cslist*.*
del %1:\cs\cslist*.*
copy fwkcs.com %1:\cs
copy fwkdg.com %1:\cs
%1:
cd %1:\cs
fwkdg /l | fwkcs /1cfpxz | qsort > %1:\cs\cslist.srt
fwkcs %1:\cs\cslist.ndx %1:\cs\cslist.srt /i
attrib +r %1:\cs\cslist*.*
fwkcs /u
cls
dir
echo -
echo ------- Please put the copy of FWKCS which is here in this subdirectory
echo -  on your path. Its internal defaults have been set to point to the files
echo -  created in this subdirectory.....
echo ------- As a precaution, please make sure either that it is the ONLY copy
echo -  of FWKCS on your path, or that such copies come from this cloned copy
echo -  (the date and time on the program have been changed, and provide a simple
echo -  test; also, you can type "FWKCS/d<enter>" to check its defaults). For more
echo -  complicated configurations, please see FWKCS106.DOC.
echo ------- Also, be sure that FWKCS can call QSORT, PKZIP, PKUNZIP, SCAN,
echo -  and, optionally, LIST. If you wish, set a path for FWKUPLD.LOG.
echo -  (i suggest that you run CHKDSK *.*, to see if any of my files contains
echo -  non_contiguous blocks; if so, please make each of my files contiguous...)
goto end
:message
echo -
echo -  i need to have a single letter, without ":", for the drive
echo -  where you want me to set up my system...
echo -
:end