home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / IDXUTIL4.ZIP / IDX-UTIL.DOC < prev    next >
Encoding:
Text File  |  1993-09-19  |  27.5 KB  |  569 lines

  1. PCB-UTIL.DOC - Release 4 - Sept 19, 1993 - Gary Meeker
  2.  
  3. This document contains information on how to use:
  4.    IDX-DUPS Version 2.20,
  5.    IDX-LIST Version 1.10,
  6.    IDX-SORT Version 1.00,
  7.    IDX-MERG Version 1.00,
  8.    IDX-DRIV Version 2.00,
  9.    IDX-RSET Version 1.20,
  10.    IDX-TEST Version 1.00,
  11.    IDX-EDIT Version 1.20 and
  12.    IDX-DIRS Version 1.00.
  13.  
  14.    These programs are released as FREEWARE to all REGISTERED PCBoard
  15. Version 14.5(a) or 15.x Sysops.  The Copyright is retained by Gary Meeker.
  16.  
  17.    What does this mean?  If you have purchased a licence for PCBoard
  18. V14.5(a) or 15.x from Clark Development, then you are entitled to copy
  19. and use these utilities on as many computers as allowed by your licence
  20. from Clark Development.  If you have an illegal copy of PCBoard V14.5(a)
  21. or 15.x these programs are not for YOU.
  22.  
  23. =========================================================================
  24. *DISCLAIMER*DISCLAIMER*DISCLAIMER*DISCLAIMER*DISCLAIMER*DISCLAIMER*
  25.  
  26. Every effort has been made to avoid error and moderately extensive testing
  27. has been performed on these programs, however, I do not warrant them to be
  28. fit for any purpose or to be free from error and disclaims any liability
  29. for actual or any other damage arising from the use of these programs.
  30.  
  31. ENSURE YOU KEEP UP-TO-DATE BACKUPS OF ALL YOUR IMPORTANT FILES.
  32.  
  33. *DISCLAIMER*DISCLAIMER*DISCLAIMER*DISCLAIMER*DISCLAIMER*DISCLAIMER*
  34. =========================================================================
  35. IDX-DUPS Version 2.20   (12/12/92)
  36.    List duplicate entries in a PCBoard File Index.  To use type:
  37.  
  38.       IDX-DUPS indexname[.IDX]  [indexname2.IDX]]  [/Q]  [/I]  [/Kn]
  39.  
  40. Where indexfile[.IDX] is the name of the index file to display.
  41. (The .IDX file extension is optional.  Do not include the '[' or ']'.)
  42.  
  43. Optionally you may include an indexname2[.IDX] which will be compared against
  44.  the first. Duplicates in the first will still be reported, but any files
  45.  found in the second which are also in the first will also be reported.
  46.  Duplicates in the second index will only be reported if they are also
  47.  in the first.
  48.  
  49.  [/Q] supresses the header info from the output.
  50.  
  51.  [/I] creates a file called COMMON.IDX containing the Index information
  52.   from the second Index when a file matches from the first index.
  53.   You can include a 3rd IndexfileName to override the default name.
  54.   Make sure you don't use the name of a file already on the disk or it
  55.   will be overwritten (unless that is what you want.) New with 2.00 is
  56.   the ability to use /I with a single IndexFile and get a COMMON.IDX
  57.   listing the Duplicates.
  58.  
  59.  [/Kn] Kill Duplicates. n:1=Prompt on all files (default)
  60.                           2=Prompt on different size files
  61.                           3=Don't prompt at all (Use with caution)
  62.  
  63.   This feature only works when two .IDX files are specified. The files from
  64.   the second .IDX files are the ones that will be deleted. If you have a
  65.   CD-ROM, you would want to specify it first and your Hard Disk(s) .IDX file
  66.   second, followed by /K (and 1, 2 or 3... If only /K is specified 1 is
  67.   assumed).
  68.  
  69.  [/C] Use Close Match instead of Exact Match. This helps find new versions
  70.   of the same file.  A close match is defined as a file in which the first
  71.   characters match follwed by Numeric characters ( '-'  and  '_'  are also
  72.   considered  Numeric characters  provided they  match in  both filenames.
  73.   There must be at least two Alpha character matches to be a close match.
  74.   Only the filnames are compared and extensions are ignored.
  75.  
  76.  
  77.   123TLK25.ZIP      These do not match because only 1 Alpha character matches.
  78.   123TXFRM.ZIP
  79.  
  80.   1ST_101A.ZIP      These match but may be part of 1 release and not dupes.
  81.   1ST_101B.ZIP
  82.  
  83.   AC214B.ZIP        These Match although they are probably unrelated.
  84.   AC2VIV.ZIP
  85.  
  86.   BNP120.ARJ        These match because extensions are ignored.
  87.   BNP120.ZIP
  88.  
  89. I setup a CD-Rom conference available to only those Users who contributed
  90. to making the purchase of the CD-Rom Drives & Disks possible. All the
  91. CD-Rom files are available from that conference but not the Main Board
  92. or other Conference Files (accept the Masterfile list Directory.)
  93. I used this to find all the files on my Hard Disks that were also on the
  94. new CD-Roms. I feed DLPATH.LST to MAKEIDX to create an Index for my Hard
  95. Drives. Then using this utility I created an Index of the Duplicates.  I
  96. added both of these (one for each CD-Rom) to the DLPATH.LST and deleted
  97. the files from the Hard Drives. This way I didn't loose any files from my
  98. board available to everyone but was able to free up the storage space they
  99. were taking up. My Users could not tell the difference and everyone was
  100. happy. Once IDX-Edit is finished I can add some of the files on the CD-Rom
  101. to these Indexes to help fill out some of the Conferences which are bare
  102. of files right now. I could copy the files from the CD-Rom to the Hard Drives
  103. and create another Index of the Dups to add them in, but it will be easier
  104. after the routine gets finished.
  105.  
  106.  
  107. V2.1 Fixed problem with display of <A: value on first .IDX file.
  108. =========================================================================
  109. IDX-List Version 1.10   (12/01/92)
  110.    List entries in a PCBoard File Index.  To use type:
  111.  
  112.       IDX-LIST indexname[.IDX]  [filemask]  [/Q]
  113.  
  114. Where indexname[.IDX] is the name of the index file to list.
  115. (The .IDX file extension is optional.)
  116.  
  117.  and [filemask] is the file or wildcard match to list."
  118.  
  119. [/Q] supresses the header info from the output.
  120.  
  121. Version 1.10 fixes a problem with the filemask when it did not include a
  122. '.' in it. and a problem with display of <A: value on.
  123. =========================================================================
  124. IDX-Sort Version 1.00   (12/01/92)
  125.    Sort entries in a PCBoard File Index.  To use type:
  126.  
  127.       IDX-SORT indexname[.IDX]  [/Q]
  128.  
  129. Where indexname[.IDX] is the name of the index file to sort.
  130. (The .IDX file extension is optional.)
  131.  
  132. [/Q] supresses the header info from the output.
  133.  
  134. Provided there is enough memory to do the sort, this program will read the
  135. index file into memory and sort the index.
  136. =========================================================================
  137. IDX-MERG Version 1.00   (12/01/92)
  138.    Combine two PCBoard File Indexes into one
  139.  
  140.       IDX-MERG indexname1[.IDX]  indexname2[.IDX]  [indexname3[.IDX]]  [/Q]
  141.  
  142. Where indexname1[.IDX] and indexname2[.IDX] are the names of the index
  143.  files to merge.
  144.  
  145. Where [indexname3[.IDX]] is the name of the index file to be created.
  146.  this is optional, if omitted COMMON.IDX will be used"
  147.  
  148. Note: The .IDX extension is optional. Do not include the '[' or ']'.
  149.  
  150. [/Q] supresses the header info from the output.
  151.  
  152. NOTE: DO NOT name the output file as either of the two input files or you
  153.       will destroy it!
  154.  
  155. IDX-MERG is designed to create a single IDX file from two IDX files. This
  156. allows creating 1 large IDX file to scan for duplicates or just to use
  157. with PCBoard rather than including several entries in your DLPATH.LST file.
  158. I created it to combine the NightOwl series IDX files into a single file
  159. to compare against other CD-ROMs and against my Hard Disk (using IDX-DUPS).
  160. You could just create a .PTH file containing multiple drive\paths and let
  161. MAKEIDX create the large IDX file if you have enough CD-ROM drives to hold
  162. all the CD-ROMS you are trying to index, but I only had a single drive at
  163. the time and wanted to combine several CD-ROMs into 1 file. IDX-DRIV (below)
  164. has also been changed to allow changing the paths on a single CD-ROM when
  165. they are combined in a single IDX file. Use IDX-EDIT to list the Range
  166. of path entries for each CD-ROM after combining (or do the math by hand).
  167. =========================================================================
  168. IDX-DRIV Version 2.00   (12/01/92)
  169.    Set Drive Letter on all paths in a PCBoard File Index. To use type
  170.  
  171.       IDX-DRIV indexname[.IDX]  DriveLetter  [/Q] [/R:Start-End]
  172.  
  173. Where indexname[.IDX] is the name of the index file to set.
  174.  
  175. DriveLetter is the Drive Letter to assign to all paths
  176.  
  177. [/Q]            supresses the header info from the output.
  178. [/R:Start-End]  specifies the Starting and Ending Path numbers to change.
  179.                   Must include '-' and no spaces. Example /R:1-35
  180.  
  181. IDX-DRIV is designed to modify the Paths in an IDX file to whatever drive
  182. letter you desire (This is quicker than using MAKEIDX again just because
  183. you changed the drive letter).
  184.  
  185. Version 2.00 includes the abilty to specify the Starting and Ending Path
  186. numbers to change, allowing the changing of Drive letters when using a
  187. combined IDX file. (Created with MAKEIDX using a .PTH file containing
  188. multiple CD-ROM drive/paths or using IDX-MERG to combine multiple .IDX files.)
  189. =========================================================================
  190. IDX-RSET Version 1.20   (09/19/93)
  191.    Set Active CD-Roms and Drives in a PCBoard File Indexes. To use type
  192.  
  193.       IDX-RSET ConfigFile  [/Q]"
  194.  
  195. Where: ConfigFile = Drive:Path to our configuration file.
  196.  
  197. [/Q] supresses the header info from the output.
  198.  
  199.  
  200. The ConfigFile contains 7 or more lines:
  201. Line 1: Loc/Name of the CDROM database File
  202. Line 2: Ignored by IDX-RSET
  203. Line 3: Ignored by IDX-RSET
  204. Line 4: Place CD-ROM Index Files at Beginning of DLPATH.LST files.
  205. Line 5: Loc/Name of AllFiles DLPATH.LST file to be checked/altered
  206. Line 6: Number of DLPATH.LST files to check
  207. Line 7+ Loc/Name of each DLPATH.LST file to be checked/altered
  208.  
  209. The CDROM database File contains 3 or more lines
  210. Line 1: Number of CD-ROMS listed in database, List of Drives for CD-ROMS
  211. Line 2+ CDRom Name Label, Loc/Name of IndexFile, TestFile
  212.  
  213.  
  214. IDX-RSET is designed to assist in changing CD-ROMS if you have more CD-ROMS
  215. than drives. First create an Index file for each CD-ROM using MAKEIDX. Next
  216. create the CDROM DataBase file using a text editor. Line 1 defines how many
  217. CD-ROMS will be listed in the data base and a list of CD-ROM Drive letters
  218. with no spaces or seperators (ie. STU or STUVWX). The following lines include
  219. a label for identifying the CD-ROM (used only as output name for your use)
  220. (but NOTE: DO NOT include a comma in the label)), the Drive:\Path\Filename
  221. of the indexfile for this CD-ROM, and a test file unique to this CD-ROM to
  222. allow the program to identify the CD-ROM (DO NOT include a drive letter or
  223. leading :\ for the path.)
  224.  
  225. Example (I have 24 CD-ROMS and 2 Drives)
  226.  
  227. 24,SU
  228. CD-Rom1, I:\ROM\1\ROM1.IDX, ROM01\159KEYS.ZIP
  229. CD-Rom2, I:\ROM\2\ROM2.IDX, ROM201\1FINGER.ZIP
  230. Phoenix_2, I:\ROM\3\ROM3.IDX, 01A\132101BT.ZIP
  231. Phoenix_3, I:\ROM\4\ROM4.IDX, GS\101A\3DIFFUSE.GIF
  232. NightOwl_5, I:\ROM\5\ROM5.IDX, 001A\315MOUSE.ZIP
  233. NightOwl_6, I:\ROM\6\ROM6.IDX, 001A\4QMODEM.ZIP
  234. NightOwl_7, I:\ROM\7\ROM7.IDX, 001A\42BOOT.ZIP
  235. NightOwl_8, I:\ROM\8\ROM8.IDX, 001A\APCAT193.ZIP
  236. NightOwl_9, I:\ROM\9\ROM9.IDX, 001A\20BACKGR.ZIP
  237. So_Much_ShareWare_1, I:\ROM\11\ROM11.IDX, ASM\A86V322.ZIP
  238. So_Much_ShareWare_2, I:\ROM\12\ROM12.IDX, BUDGET\ACHK361.ZIP
  239. So_Much_ShareWare_3, I:\ROM\13\ROM13.IDX, BUDGET\ALI203.ZIP
  240. ShareWare_Studio_I,I:\ROM\14\ROM14.IDX, ANSI\A2A20.ZIP
  241. ShareWare_Studio_II,I:\ROM\15\ROM15.IDX, 4DOS\4D401D.ZIP
  242. Origional_ShareWare_92, I:\ROM\17\ROM17.IDX, 1\0929REF.ZIP
  243. ShareWare_DataBase1, I:\ROM\18\ROM18.IDX, 4DOS\4BATCH10.ZIP
  244. MonsterDisc_II, I:\ROM\19\ROM19A.IDX, 4DOS\42BOOT.ZIP
  245. MonsterDisc_II, I:\ROM\19\ROM19B.IDX, GENE\AHNDES17.ZIP
  246. Calif_Collection, I:\ROM\20\ROM20.IDX, HIS001\BRAINX1.ZIP
  247. ShareWare_Overload, I:\ROM\21\ROM21.IDX, BUSI\90TAXEST.ZIP
  248. Super_CD_II, I:\ROM\22\ROM22.IDX, BBS_DOOR\2002HLP2.ZIP
  249. VGA-Spectrum_1, I:\ROM\23\ROM23.IDX, ANIMATE\FLI\1988EGA.FLI
  250. VGA_Spectrum_2, I:\ROM\24\ROM24.IDX, ANIMATE\FLI1\1988EGA.FLI
  251. Cream_of_the_Crop, I:\ROM\25\ROM25.IDX, BATCH\ANSIMATE.ARJ
  252.  
  253. Next create the config file using a text editor.   The first line contains
  254. the Drive:\Path\Filename of the above database.  The forth line determines
  255. if the CD-ROM Index  files should be  listed at the beginning (YES) or the
  256. end (NO) of the DLPATH.LST files (NOTE: a special mode is available by the
  257. use of AUTO which causes the Index files to be listed after the end of the
  258. first occurances of INDEX files in the DLPATH.LST file).    The fifth line
  259. contains the Drive:\PATH\Filenames of the AllFiles DLPATH.LST file. The sixth
  260. Line contains the number of DLPATH.LST files to be checked.  The following
  261. lines contain the Drive:\PATH\Filenames of each of the DLPATH.LST files.
  262.  
  263. When run, IDX-RSET will Check each CD-ROM listed and determine which drive
  264. it is in. It will then modify the INDEX file so the PATHS will contain the
  265. proper Drive letter. Once each CD-ROM is located it will read each of the
  266. DLPATH.LST files listed and look for INDEX files. If the Index File is one
  267. of the files listed, it will be skipped. Any other INDEX file as well as any
  268. other line will be copied to the new DLPATH.LST file which will then be
  269. renamed to the origional file. The result will be a DLPATH.LST file which will
  270. contain the proper index files for the CD-ROMS that are found to be online
  271. and the index files modified so the paths contain the proper Drive letter.
  272.  
  273. Version 1.10 changed the config file to be compatible with the IDX-TEST,
  274. just insert a new line 2 and 3.
  275.  
  276. Version 1.20 added support for the AllFiles list in PCBoard 15. All the
  277. Indexes will be added to this file. Indexes which are offline will have
  278. the drive letter set to '@' allowing the use of the TSR program CD_CHECK.COM
  279. to be used. If this TSR is loaded, it will report any file to exist when
  280. DOS function 04Eh (Find First Matching File) is executed to locate a file
  281. on drive '@'. This will 'fool' PCBoard into reporting the file to already
  282. exist when a User attempts to upload a file found in an OffLine .IDX file.
  283.  
  284. Normally PCBoard would not detect the duplicate because it actually checks
  285. the drive for the file even though it was found in a .IDX file which requires
  286. the CD-ROM to be online. For those of us with more CD-ROM's than drives this
  287. will be very helpful in blocking files we already have. CD_CHECK should be
  288. loaded in your AUTOEXEC.BAT file.
  289. =========================================================================
  290. IDX-TEST Version 1.00   (07/03/93)
  291.    Test Active CD-Roms and Drives. To use type
  292.  
  293.       IDX-TEST ConfigFile OutputFile [CD-ROM] [/Q]"
  294.  
  295. Where: ConfigFile = Drive:Path to our configuration file.
  296.        OutputFile = Drive:Path:Filename of the output text file
  297.        CD-ROM     = CD-ROM # to check for (0 = ALL Online CD-Rom's)
  298.  
  299. [/Q] supresses the header info from the output.
  300.  
  301.  
  302. The ConfigFile contains 3 or more lines:
  303. Line 1: Loc/Name of the CDROM database File
  304. Line 2: Loc/Name of the OnLine Report File
  305. Line 3: Loc/Name of the OffLine Report File
  306. Line 4: Ignored by IDX-TEST
  307. Line 5: Ignored by IDX-TEST
  308. Line 6: Ignored by IDX-TEST
  309. Line 7+ Ignored by IDX-TEST
  310.  
  311. The CDROM database File contains 3 or more lines
  312. Line 1: Number of CD-ROMS listed in database, List of Drives for CD-ROMS
  313. Line 2+ CDRom Name Label, Loc/Name of IndexFile, TestFile
  314.  
  315.  
  316. IDX-TEST is designed to assist in informing the User which of your CD-ROMS
  317. is ONLINE/OFFLINE.  Create the CDROM DataBase file using a text editor.
  318. Line 1 defines how many CD-ROMS will be listed in the data base and a list
  319. of CD-ROM Drive letters with no spaces or seperators (ie. STU or STUVWX).
  320. The following lines include a label for identifying the CD-ROM (used only
  321. as output name for your use) (but NOTE: DO NOT include a comma in the label)),
  322. the Drive:\Path\Filename of the indexfile for this CD-ROM, and a test file
  323. unique to this CD-ROM to allow the program to identify the CD-ROM (DO NOT
  324. include a drive letter or leading :\ for the path.)
  325.  
  326. Example (I have 9 CD-ROMS and 3 Drives)
  327.  
  328. 9,STU
  329. CD-Rom1, H:\IDX-ROM1.IDX, ROM01\1603.ZIP
  330. CD-Rom2, H:\IDX-ROM2.IDX, ROM201\ALTBRN12.ZIP
  331. Phoenix_2, I:\ROM\3\ROM3.IDX, 01A\132101BT.ZIP
  332. Phoenix_3, I:\ROM\4\ROM4.IDX, GS\101A\3DIFFUSE.GIF
  333. NightOwl_5, I:\ROM\5\ROM5.IDX, 001A\315MOUSE.ZIP
  334. NightOwl_6, I:\ROM\6\ROM6.IDX, 001A\4QMODEM.ZIP
  335. NightOwl_7, I:\ROM\7\ROM7.IDX, 001A\42BOOT.ZIP
  336. NightOwl_8, I:\ROM\8\ROM8.IDX, 001A\APCAT193.ZIP
  337. NightOwl_9, I:\ROM\9\ROM9.IDX, 001A\20BACKGR.ZIP
  338.  
  339. Next create the config file using a text editor. The first line contains
  340. the Drive:\Path\Filename of the above database.     Additional lines are
  341. ignored by IDX-TEST allowing the same files to be used by IDX-RSET.
  342.  
  343. When run, IDX-EDIT will check each CD-ROM listed and determine which drive
  344. it is in if no CD-ROM is specified on the command line.  If a command line
  345. is given containing the CD-ROM number to check, then only that CD-ROM will
  346. be tested for and the output file will report whether that CD-ROM is online
  347. or offline. If it is Online the Online Report File will be copied to the
  348. OutputFile, if Offline then the Offline Report File will be copied. During
  349. the copy @CDROM@ wil be translated to the name of the CD-ROM as listed in
  350. the CDROM database file. If 0 is specified then IDX-EDIT will check each
  351. CD-ROM listed and list only those that are found ONLINE.
  352.  
  353. Example:
  354. IDX-TEST C:\PCB\IDX-RSET.CFG CDSTATUS /Q
  355.  
  356. This can be run from a PPE file and I have included SHELL.PPE with which
  357. you can run this program from the Conference INTRO file as follows:
  358.  
  359. !C:\PCB\PPE\SHELL.PPE C:\UTIL\IDX-TEST.EXE C:\PCB\IDX-RSET.CFG CDSTATUS /Q
  360. %CDSTATUS
  361.  
  362. If you have a conference for each CD-ROM and only some are online, then you
  363. could include the number of the CD-ROM on the command line in each INTRO
  364. file.
  365. =========================================================================
  366. IDX-Edit Version 1.20   (07/22/93)
  367.    Edit entries in a PCBoard File Index.  To use type:
  368.  
  369.       IDX-EDIT [indexname[.IDX]  [/F]  [/C]
  370.  
  371. Where indexname[.IDX] is the name of the index file to edit.
  372. (The .IDX file extension is optional.)
  373.  
  374. [/F] Tag first file also on duplicates.
  375.  
  376. [/C] Use Close Match instead of Exact Match.
  377.      See IDX-DUPS for details on a Close Match. When Close Match is ON,
  378.      Tag First is ignored and all files are tagged except the last match
  379.      as this is assumed to be the lastest version of a file.
  380.  
  381. If not given, the file name will be prompted for.
  382.  
  383. This will be the most powerful Utility of the batch once it is finished.
  384.  
  385. Currently it allows for complete editing of the data in the index file.
  386. You can TAG files based on Duplicates in the index file, Files found in
  387. another index file, a FileMask, by Path Number, Path/FileMask in a text
  388. file, Path/File in a text report from IDX-DUPS or manually.
  389.  
  390. Tagging files by reading a file for Paths\FileNames, this will be either a
  391. straight file of filenames  (with/without paths) or a text file  generated
  392. by redirecting the output of IDX-DUPS to a file is possible.  The straight
  393. file format is 1 filespec per line.  This may include wildcards and paths.
  394. The paths must match the path  text in the IDX file exactly  or it will be
  395. skipped. An entry such as S:\001A\C*.* or Z*.* is considered legal.    The
  396. report format  skips all lines that do  not have a  colon in column 13 and
  397. the name at the start of the line does not match the current IDX file. The
  398. full name and path are checked and tagged if found.
  399.  
  400. The Tagged files may then be deleted, written to another index file or can
  401. be untagged manually or all at once.
  402.  
  403. Editing of Paths is also be possible to allow easy changing of drive letters,
  404. etc.   Paths will be able to be added or deleted in a future version and the
  405. path of any file will be able to be changed. Version 1.20 now only writes
  406. the Paths out that are used when creating a New File from tagged entries.
  407. the paths are renumbered and the new number written out with each filename.
  408.  
  409. Other features will be available if I come up with any or requests are
  410. made, and I can work them in.
  411.  
  412. I also plan to add the ability to change the order of the files on duplicates.
  413. This will allow you to control which file PCBoard finds first (especially if
  414. you use IDX-MERG and combine several IDX files into one and want to place the
  415. more recent file first).
  416.  
  417. Currently only Displaying, Editing and Tagging are finished.
  418.  
  419. The program is pretty straight forward, so I will only mention some of the
  420. functions and keyboard commands available. From the Main Menu, either the
  421. Numeric key or Function key may be used to select a menu choice. Selections
  422. 4 & 5 will only function if there are files tagged. Selection 4 will prompt
  423. you for a file name and if the file exists, you will be prompted to confirm
  424. an overwrite. Selection 5 will prompt for confirmation of the deletion also.
  425.  
  426. When Displaying/Edit Filenames, The following functions are available:
  427.  
  428. Dn, Up       Move to Next/Prev FileName
  429. PgDn, PgUp   Move to Next/Prev Page
  430. Tab          Move to the Next Tagged Filename
  431. Shift-Tab    Move to the Prev Tagged Filename
  432. Alt-Key      Jump to first Filename starting with letter of Alt-Key pressed
  433.                (Alt-# jumps to Beginning,  Alt-= jumps to End)
  434. F2           Tag/UnTag current FileName (Cursor moves Down one line)
  435. F3           Jump to a Line (FileName) Number
  436. F5           Decrements Path Number
  437. F6           Increments Path Number
  438. F7           Flip All Tags
  439. F8           Clear All Tags
  440. F10          Special Tagging Menu
  441. Ctrl-D       Undo Edit of Current FileName (Restore Default Input)
  442. Ctrl-X       Clear Current FileName (Erase Field)
  443. Home, End    Go to Beginning/End of Field
  444. Left, Right  Move Cursor Left/Right
  445. Ctrl-Left,
  446.  Ctrl-Right  Move Cursor Left/Right one word
  447. Ins          Toggle Insert Mode (Starts in OFF on EACH new line)
  448. Del          Del Character at Cursor
  449. BS           Del Character Left of Cursor
  450. ESC          Exit (Current line edited will be aborted)
  451.  
  452. Once the Cursor has been moved to another line, the edited data has been
  453. written to the disk. MAKE BACKUPS of the files (although they are easily
  454. regenerated.)
  455.  
  456. When editing the actual Filename data,  keep in mind that PCBoard does a
  457. binary search on the file,  so if you change the name,  it may cause the
  458. search to fail. I recommend changing the last character to - or _ so the
  459. sorted order of the list is not affected.  If there are no duplicates of
  460. the file or you are changing the last filename of a duplicate,  use _ as
  461. the character.  If it is the first filename of a duplicate, use - as the
  462. character.  Changing the name shouldn't really be necessary now that you
  463. can delete a file from the index file by tagging it and using the delete
  464. function. A sort feature is planned for a future version to allow you to
  465. actually change a  name completely  (especially if you rename a  file on
  466. the hard disk itself and want to change the Index file instead of running
  467. MAKEIDX again.) Currently an external sort utility is provided (IDX-SORT)
  468. and if you change any filenames, I would recommend sorting the index just
  469. to be safe.
  470.  
  471. This has been a slow project as I have been writing them as I needed them
  472. and haven't spent much time on this one as my need for it has been low. If
  473. you have a need for it, let me know and I will spend more time on it.
  474. =========================================================================
  475. IDX-DIRS Version 1.00   (07/22/93)
  476.    Strip files not found in an .IDX from a DIR listing. To use type:
  477.  
  478.       IDX-DIRS [@]indexname[.IDX]  [@]dirfile.ext [/Q] [/M] [/B]
  479.  
  480. Where indexname[.IDX] is the name of the index file to check.
  481.  and [dirfile.ext] is the text file to strip.
  482.  Either may be a file containing a list of files if preceeded by '@'
  483.  
  484. [/Q] supresses the header info from the output.
  485.  
  486. [/M] write missing files to seperate file (with extension .DEL).
  487.  
  488. [/B] rename origional file as .BAK istead of deleting it.
  489.  
  490. This utility will strip out and files not found in an .IDX file (or a list
  491. of .IDX files) from a DIR listing file (or a list of DIR files).  The DIR
  492. file will be opened along with a TEMP file and each file will be checked to
  493. see if it is in the specified .IDX file(s). If not it will be skipped (or
  494. optionally written to a seperate file). This allows stripping the files
  495. from a DIR after removing Duplicates with IDX-EDIT. If you have combined
  496. several CD-ROM DIR files you can use a text file to list both .IDX files
  497. so both .IDX file will be checked before deleting the file listing. It will
  498. be faster, however, if you can first create a combined .IDX listing using
  499. IDX-MERG. When only a single .IDX file is used, IDX-DIRS will open it and
  500. read the header immediately, and then leave it open while scanning the DIR
  501. files. Otherwise, each .IDX file is opened and checked, then closed for
  502. every file in the DIR list. Leaving it open all the time runs 33% faster.
  503. Creating a text file listing all the DIR files to be processed allows you
  504. to walk away while IDX-DIRS does the whole job for you.
  505.  
  506. After stripping files from the listing, the origional file is either deleted
  507. (or renamed to .BAK if /B is used) and the TEMP file is renamed to the
  508. origional. Using /M will also create a file with a .DEL extension to write
  509. files that were striiped into allowing you to review the missing files.
  510.  
  511. =========================================================================
  512. BBS CD-ROM Authors: Please feel free to include these Utilities with your
  513.    CD-ROM.   You may also include any  number of the files extracted from
  514.    the .ZIP file without my DOCS.  This will allow you to include an .IDX
  515.    file for your CD-ROM and include  IDX-DRIV.EXE  on the disk along with
  516.    a batch file (ROM.BAT for example) that allows the  User to change the
  517.    drive of the Index to fit their  needs without having to  regenerate a
  518.    new index file. An example of the batch file would be:
  519.  
  520.    IDX-DRIV YourFile %1 %2 /Q
  521.  
  522.    and the User would simply type ROM X to set the drive letter to X: after
  523.    copying the Index File and batch file to their hard drive.
  524. =========================================================================
  525. Note:  I haven't received much feedback on this project so I don't know if
  526. anyone is finding any use for the utilities or not.   If you are using the
  527. programs let me know and I will keep updating them and developing additonal
  528. programs.
  529. =========================================================================
  530.  
  531. CONTACTING THE AUTHOR
  532.  
  533. There are a number of ways to contact the author:
  534.  
  535.    1.  Call the support BBS, SHARP Technical Support Line BBS (404) 962-1788.
  536.  
  537.    2.  Fax: (404) 995-0613
  538.  
  539.    3.  Send net mail message through one of the mail networks addressed to
  540. 'Gary Meeker'. Available networks are ProgNet or SourceNet. I carry these
  541. Networks on my BBS so will see any mail in any conference. I also call
  542. SaltAir at least once a week so this is a perfect place to contact me also
  543. through the Utilities Conference.
  544.  
  545.    4.  Send letter through regular post to the following address:
  546.  
  547.          ATTN: Gary Meeker
  548.          SHARP Technical Support Line BBS
  549.          725-C Old Norcross Road
  550.          Lawrenceville, GA 30245
  551.  
  552. =========================================================================
  553. Source Code:
  554.  
  555. All programs are written in QuickBasic 4.5 and compiled using P.D.Q.
  556. from Crescent Software. This results in very small code. Also several
  557. routines from Crescent's QuickPack Professional Library and some of myown
  558. Library routines were used.
  559.  
  560. For those who would like source code, it can be obtained by sending $10
  561. to the address above, made payable to Gary Meeker. Specify 3.5" or 5.25" &
  562. DD or HD format disks. You will receive the QB4.5 source code and the
  563. assembly code and Library for myown routines. To compile the code you will
  564. need P.D.Q. & QuickPack Professional from Crescent Software or replace the
  565. Library calls by uncommenting the internal routines which accomplish the
  566. same functions but result in larger code. Compiling then can be done under
  567. QB4.5 just fine. (although the files will be 2 to 4 times as large.)
  568. =========================================================================
  569.