home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
-
- Echo
- CLS
- Echo
- Echo
- Echo ┌─────────────────────────────────────────────────────────────┐
- Echo │ Quick Start for building your FWK database │
- Echo ├─────────────────────────────────────────────────────────────┤
- Echo │ There probably are many better ways to do this for │
- Echo │ which you'll have to read the FWKCS documentation! │
- Echo └─────────────────────────────────────────────────────────────┘
- Echo
- Echo This BAT file will help you get started in building your
- Echo "FWK" contents signature database. It is not intended as
- Echo the best way or the most efficient way but it should work.
- Echo In order to use this you MUST have performed some auxiliary
- Echo functions already. Read on.. if you are missing steps make
- Echo sure you abort!
- Echo
- Echo 1. You should have FWKCS.COM version 1.06, 1.07 or 1.08
- Echo I will not support other versions with ExZip's v2.0 release!
- Echo
- Echo 2. You should have created a directory to house the
- Echo databases. I will call it "P:\CS" for now.
- Echo
- Echo
- Pause
- cls
- Echo 3. You should have initialized FWKCS to point to your four
- Echo database files through the "/d#" option already. I will,
- Echo for now, call these files "CSLIST.SRT", "CSLIST.NDX",
- Echo "CSLIST1.SRT" and "CSLIST1.NDX". They will all reside in
- Echo the directory mentioned above.
- Echo If you have not initialized FWKCS yet, terminate this BAT
- Echo and do the following:
- ECHO
- Echo Make sure you have only one copy of FWKCS.COM and that
- Echo it is in a DOS search path;
- Echo
- Echo Replacing my example names and path with your actual
- Echo ones execute the following 4 commands:
- Echo FWKCS P:\cs\cslist.ndx /d1
- Echo FWKCS P:\cs\cslist.srt /d2
- Echo FWKCS P:\cs\cslist1.ndx /d3
- Echo FWKCS P:\cs\cslist1.srt /d4
- Echo
- Echo Make sure you have QSORT in a DOS search path;
- Echo Make sure you have DOS's FIND in a DOS search path;
- Echo
- Echo Restart this batch!
- Echo
- Pause
- cls
- Echo To run this batch file you will need to pass some info to
- Echo it via the command line. You MUST also be in the "P:\CS"
- Echo directory! I need to know which drives contain your .ZIP
- Echo files. These must be consecutive drive letters, such as
- Echo H: through P:. If not, you'll have to modify this batch!
- Echo
- Echo This batch will leave the files CSLIST.SRT and CSLIST.NDX
- Echo in your "P:\CS" directory when done. YOU will have to
- Echo rename them to the names you selected during the FWKCS
- Echo install (remember the /d# commands?)
- Echo
- Echo If you want to install the BBS ads signatures follow the
- Echo instructions in the NOADS10.ZIP file.
- Echo
- Echo
- Echo If you are NOT now ready to start building the database press
- Echo CTRL-BREAK to abort, otherwise...
- Echo
- Pause
- Echo
-
-
- If %1. == . goto NG
- If %2. == . goto NG
- goto Startit
-
- :NG
- Echo
- Echo
- Echo
- Echo ┌───────────────────────────────────────────────────────────────┐
- Echo │ You MUST specify drives to scan (from to) on the command │
- Echo │ line. Execute as "CSBUILD C F" to create a database of all │
- Echo │ .ZIP files which can be found and drives C through F! │
- Echo └───────────────────────────────────────────────────────────────┘
- Echo
- Echo
- goto end
-
-
- :StartIt
- Echo
- echo Scanning for files on drives %1 thru %2
- FwkDG %1 %2 /L >Files1
-
- Echo Removing non-ZIP files
- Find ".ZIP" Files1 >Files2
- Del Files1
-
- Echo Ready to create database...
- Fwkcs /1cf Files2 >Files3
- Del Files2
-
- Echo Sorting database.. creating CSLIST.SRT
- QSort Files3 CSList.Srt
- Del Files3
-
- Echo Creating index file..
- FwkCs CSList.Ndx CSList.Srt /i
-
- :End
-
-