IDX-UTIL.DOC - Release 7 - Jun 1, 1995 - Gary Meeker This document contains information on how to use: IDX-MAKE Version 1.10, IDX-DUPS Version 2.30, IDX-LIST Version 1.20, IDX-SORT Version 1.10, IDX-MERG Version 1.10, IDX-DRIV Version 2.10, IDX-RSET Version 1.40, IDX-TEST Version 1.20, IDX-EDIT Version 1.40 and IDX-DIRS Version 1.10. These programs are released as FREEWARE to all REGISTERED PCBoard Version 14.5(a) or 15.x Sysops. The Copyright is retained by Gary Meeker. What does this mean? If you have purchased a license for PCBoard V14.5(a) or 15.x from Clark Development, then you are entitled to copy and use these utilities on as many computers as allowed by your license from Clark Development. If you have an illegal copy of PCBoard V14.5(a) or 15.x these programs are not for YOU. License is also granted to any CD-ROM creator to use or include any of these files with your CD-ROM. ========================================================================= *DISCLAIMER*DISCLAIMER*DISCLAIMER*DISCLAIMER*DISCLAIMER*DISCLAIMER* Every effort has been made to avoid error and moderately extensive testing has been performed on these programs, however, I do not warrant them to be fit for any purpose or to be free from error and disclaims any liability for actual or any other damage arising from the use of these programs. ENSURE YOU KEEP UP-TO-DATE BACKUPS OF ALL YOUR IMPORTANT FILES. *DISCLAIMER*DISCLAIMER*DISCLAIMER*DISCLAIMER*DISCLAIMER*DISCLAIMER* ========================================================================= IDX-Make Version 1.10 (06/01/95) Creates a PCBoard .IDX File Index IDX-MAKE pathlist[.PTH] [indexname[.IDX]] [/S] [/D] Where pathlist[.PTH] is an ASCII file (CR/LF delimited) listing paths that are to be scanned for files (subdirectories of the paths are also scanned). Where indexname[.IDX] is the name of the index file to be created based on the files found in the paths specified by the pathlist file. [/S] do not include subdirectories of the paths specified. [/D] do not include the default exclusions. This is a replacement for MAKEIDX.EXE for PCBoard. This allows it to be distributed to CD-ROM makers with no problem. It also offers features not found in MAKEIDX. First, you only need specify the name of the .PTH/.IDX file once if they are the same. Next, IDX-MAKE will eliminate any duplicate path specifications before processing. If you accidentally specify a sub-directory that will be found within while traversing sub-directories, MAKEIDX will duplicate the files in that directory (and any further levels below it) which IDX-MAKE will avoid. IDX-MAKE also allows specifying paths to exclude by placing a '-' in front of the path name. You may also specify filenames to exclude in the same manner. To be considered a filename and not a path, the filename MUST have a '.' in it and a path MUST NOT have one within the last 4 characters. By default IDX-MAKE will include files in any sub-directory encountered in one of the specified paths. This allows a simple root directory to be specified to include all files on a CD-ROM. You may override this feature by including a /S on the command line. Also by default IDX-MAKE will exclude files in the root directory itself and the filespecs FILES.BBS, SFFILES.BBS & *. (any file with no extension). You may override these defaults by including a /D on the command line. (or by placing a IDX-MAKE.CFG file in the current directory or in the same directory as IDX-MAKE.EXE and place your own defaults in this file.) A typical .PTH might look like this: OWL12.PTH --------- S:\ -S:\TEXT\ -S:\PCBDIRS\ -*.GIF This would then create OWL12.IDX by typing: IDX-MAKE OWL12 Version 1.10 adds the ability to specify a filespec on the path. ie. S:\*.ZIP This would search for only .ZIP files. This allows limiting the type of files without requiring alot of exclusion filespecs. It also allows specifying a specific filename to be added to the IDX. Also added IDX-MAKE.CFG external definition file for exclude files. The first line must specify the number of lines in the file and the remaining lines must specify one filespec to exclude with out the '.' and padded to 11 characters. ie. FILES.BBS would be specified as FILES???BBS I have not included the ability to exclude a file spec within a directory, ie. -S:\FILES\*.ZIP does nothing. However, you can over-ride a directory exclusion with an specific directory\filespec inclusion, ie. S:\ S:\FILES\*.ZIP -S:\FILES\ This would exclude all files in the S:\FILES\ directory ACCEPT those with the extension .ZIP (the order of the lines will make no difference). ========================================================================= IDX-DUPS Version 2.30 (07/01/94) List duplicate entries in a PCBoard File Index. To use type: IDX-DUPS indexname[.IDX] [indexname2.IDX]] [/Q] [/I] [/Kn] Where indexfile[.IDX] is the name of the index file to display. (The .IDX file extension is optional. Do not include the '[' or ']'.) Optionally you may include an indexname2[.IDX] which will be compared against the first. Duplicates in the first will still be reported, but any files found in the second which are also in the first will also be reported. Duplicates in the second index will only be reported if they are also in the first. [/Q] supresses the header info from the output. [/I] creates a file called COMMON.IDX containing the Index information from the second Index when a file matches from the first index. You can include a 3rd IndexfileName to override the default name. Make sure you don't use the name of a file already on the disk or it will be overwritten (unless that is what you want.) New with 2.00 is the ability to use /I with a single IndexFile and get a COMMON.IDX listing the Duplicates. [/Kn] Kill Duplicates. n:1=Prompt on all files (default) 2=Prompt on different size files 3=Don't prompt at all (Use with caution) This feature only works when two .IDX files are specified. The files from the second .IDX files are the ones that will be deleted. If you have a CD-ROM, you would want to specify it first and your Hard Disk(s) .IDX file second, followed by /K (and 1, 2 or 3... If only /K is specified 1 is assumed). [/C] Use Close Match instead of Exact Match. This helps find new versions of the same file. A close match is defined as a file in which the first characters match follwed by Numeric characters ( '-' and '_' are also considered Numeric characters provided they match in both filenames. There must be at least two Alpha character matches to be a close match. Only the filnames are compared and extensions are ignored. 123TLK25.ZIP These do not match because only 1 Alpha character matches. 123TXFRM.ZIP 1ST_101A.ZIP These match but may be part of 1 release and not dupes. 1ST_101B.ZIP AC214B.ZIP These Match although they are probably unrelated. AC2VIV.ZIP BNP120.ARJ These match because extensions are ignored. BNP120.ZIP I setup a CD-Rom conference available to only those Users who contributed to making the purchase of the CD-Rom Drives & Disks possible. All the CD-Rom files are available from that conference but not the Main Board or other Conference Files (accept the Masterfile list Directory.) I used this to find all the files on my Hard Disks that were also on the new CD-Roms. I feed DLPATH.LST to MAKEIDX to create an Index for my Hard Drives. Then using this utility I created an Index of the Duplicates. I added both of these (one for each CD-Rom) to the DLPATH.LST and deleted the files from the Hard Drives. This way I didn't loose any files from my board available to everyone but was able to free up the storage space they were taking up. My Users could not tell the difference and everyone was happy. Once IDX-Edit is finished I can add some of the files on the CD-Rom to these Indexes to help fill out some of the Conferences which are bare of files right now. I could copy the files from the CD-Rom to the Hard Drives and create another Index of the Dups to add them in, but it will be easier after the routine gets finished. V2.10 Fixed problem with display of