home *** CD-ROM | disk | FTP | other *** search
/ Big Blue Disk 5 / bbd05.zip / INDEXER.TXT < prev    next >
Text File  |  1987-01-07  |  15KB  |  313 lines

  1. ^C^1Disk Indexer
  2. ^Cby
  3. ^CDaniel Tobias
  4.  
  5. You've been using your PC for a while.  You've probably built up quite a stack 
  6. of diskettes containing the programs, data files, text files, etc., that you 
  7. have been working on.  Most likely, you often forget which disk a given file 
  8. is on and have to do a long, tedious search. 
  9.  
  10. Or maybe you upgraded to a hard disk and thought that it would solve all of
  11. your problems.  However, as you created more and more subdirectories and
  12. sub-subdirectories to hold everything, you faced a similar problem when it came 
  13. to remembering just which subdirectory contained some elusive file. 
  14.  
  15. DISK INDEXER will solve these problems.  It will let you create a master index
  16. of a collection of floppy disks, or all or part of a hard disk.  The index
  17. is an alphabetized list of the files on all indexed disks, along with their
  18. size, creation date, and (most importantly) where they can be located.  You
  19. can output all or selected parts of this index to your screen or printer.
  20.  
  21. DISK INDEXER has many options and features.  The best thing to do is to print 
  22. out this text and have it in front of you as you go through the program.  What 
  23. follows is a description of the items on the menu.  Many of these items invoke 
  24. sub-menus; in each of these menus, you can return to the main menu by pressing 
  25. the ESC key. 
  26.  
  27.  
  28. ^C(I)ndex disks
  29.  
  30. Select I to index disks, and you will be prompted to "Insert disk to index."  
  31. DISK INDEXER will expect to find this disk in drive A.  (Later, you will find 
  32. out how to change this in order to use other floppy or hard disk drives.)  
  33. Place any MS-DOS formatted disk (for example, BIG BLUE DISK, or your MS-DOS 
  34. system disk) in drive A and press the space bar.  If you really didn't want to 
  35. index disks, press ESC to return to the menu. 
  36.  
  37. Next DISK INDEXER will tell you the disk I.D.  The I.D., which is obtained 
  38. from the volume label, will be used in your index as an indication of where 
  39. each file is, so make sure it reflects the name by which you know the disk. 
  40.  
  41. This issue of BIG BLUE DISK has a label of "BBD #5 D2" on its second disk, so 
  42. that is what will show as its I.D. if that is the disk you inserted.
  43.  
  44. Press the ENTER key to accept the I.D. as given, or press the backspace key to 
  45. use a different string.  If you decide you really didn't want to index that 
  46. disk, press ESC to get back to the previous prompt; press ESC again to return 
  47. to the menu. 
  48.  
  49. Once you press ENTER, the disk's directory will be read, sorted, and added to 
  50. your index.  DISK INDEXER will tell you how many files it added to the index, 
  51. and prompt for another disk.  Continue inserting disks to index, and repeat 
  52. the above sequence for each disk.  When done, press ESC instead of the space 
  53. bar when prompted to insert a disk. 
  54.  
  55. If DISK INDEXER encounters more than one file of the same name under the same 
  56. disk I.D. (as might happen if you should insert the same disk twice during the 
  57. indexing process), only one entry of that filename will be kept; file size and 
  58. date information for this entry will be taken from the most recently inserted 
  59. disk with that file.  Duplicate filenames with different disk I.D.'s will 
  60. appear in the index as many times as there were occurrences of that filename 
  61. with different I.D.'s. 
  62.  
  63.  
  64. ^C(D)rive/Path/Mask Selection Options
  65.  
  66. Here is where you tell DISK INDEXER which drive to use.  The default is drive 
  67. A, but you can indicate any drive or path.  Selecting the D command from the 
  68. main menu brings you a submenu containing three modifyable parameters. 
  69.  
  70. Option 1 lets you enter a new value in standard MS-DOS syntax for the drive 
  71. and path to search.  For example, "A:\" selects the root directory of drive A, 
  72. "C:\" selects the root directory of drive C (usually a hard disk), and "C:" 
  73. (with no backslash) selects the current directory of drive C. 
  74.  
  75. Normally, if you are indexing floppy disks, you will use "A:\", which is the 
  76. default value when you start DISK INDEXER.  For indexing a hard disk, "C:\" is 
  77. the normal value if you are starting at the root; you can also select a 
  78. subdirectory like "C:\GAMES\" if you only want to index parts of the disk. You 
  79. may enter subdirectory names with or without a terminating backslash; a 
  80. backslash (\) will be added automatically to the end of the string you type if 
  81. its last character is not already a backslash or colon. 
  82.  
  83. Option 2 will toggle the Recursive Directory Search option.  If this option is 
  84. on, DISK INDEXER will automatically search for and index all subdirectories of 
  85. a directory it has just indexed.  This continues recursively, so that if you 
  86. start at the root directory, all directories of the disk will be indexed.  
  87. This option is primarily of use when you wish to index your whole hard disk, 
  88. but it can also be used on floppies with subdirectories, to make sure all 
  89. files are indexed. 
  90.  
  91. Option 3 allows you to set a file mask.  This is a MS-DOS wildcard expression, 
  92. used to specify which files on your disks will be indexed. The default is 
  93. "*.*", which means all files. 
  94.  
  95. You can change this to index only selected files; for instance, using the mask 
  96. "*.BAS" wil limit the index to files with a .BAS extension. A mask of "TEST*.*"
  97. will index only files whose names begin with "TEST". 
  98.  
  99.  
  100. ^C(F)ile type selection options
  101.  
  102. This command allows more choices regarding which files are indexed.  In this 
  103. section, you can press the number keys 1 through 4 to toggle between including 
  104. and excluding several types of files.
  105.  
  106. Option 1 is zero-length files; these are files, like the delimiter files of BIG 
  107. BLUE DISK, that have only a directory entry, but no data.  These are generally 
  108. used only to make the directory listing more attractive; you probably don't 
  109. want them in your index.  Thus, you can turn this option off so that these files
  110. are not included. 
  111.  
  112. Options 2 and 3 refer to hidden and system files respectively.  These are 
  113. special file types which don't normally show in your directory.  The MS-DOS 
  114. program itself is contained in system files on your system disk.  Some utility 
  115. programs can convert data files into hidden files so that others can't see 
  116. where they are.  These sorts of files will not normally be indexed by DISK 
  117. INDEXER, but if you toggle these options, they will be included.
  118.  
  119. Option 4 lets you choose whether or not to index the file COMMAND.COM. This 
  120. file is on all bootable disks, so you may have many copies in your disk 
  121. collection.  Hence, you might wish to turn this off so that this file does not 
  122. appear in your index. 
  123.  
  124. The default when you start DISK INDEXER is to include zero-length files and 
  125. COMMAND.COM, but exclude hidden and system files.  This means that all files 
  126. that are visible in a normal DIR listing will get indexed, and no others.
  127.  
  128.  
  129. ^C(P)ick system for getting disk ID
  130.  
  131. This section allows you to choose how DISK INDEXER finds the name of each disk 
  132. or subdirectory.  This information can be obtained in one of several ways, 
  133. selectable by pressing a number from 1 to 4, or using the up and down arrows 
  134. to move a pointer between these four items.  There is also a fifth option 
  135. which can be toggled independently of these.  The choices are as follows: 
  136.  
  137. (1) Use the disk volume label, which MS-DOS adds when you format a disk.
  138.  
  139. (2) If you are indexing your collection of issues of BIG BLUE DISK,
  140. use the STATUS.DAT file, which contains the issue number information.
  141.  
  142. (3) For indexing hard disks (or floppies which contain subdirectories) use the 
  143. pathname of each directory. 
  144.  
  145. (4) You can be prompted to type a name for each disk or directory as it is 
  146. indexed.
  147.  
  148. (5) You may also choose to have the I.D. value confirmed before you proceed 
  149. with indexing; this will give you a chance to see what data is being used and 
  150. change it if you wish.  Or you can disable the confirmation, so the indexing 
  151. goes faster.  Press 5 to toggle this option.  If you do a recursive directory 
  152. search, you'll probably want to turn the confirmation option off; otherwise, 
  153. there will be a pause at each subdirectory.
  154.  
  155.  
  156. ^C(R)ead index data file from disk.
  157.  
  158. When you select this option, you will be prompted for a filename.  This should 
  159. be the name of a file which you have previously saved with the W command 
  160. (described below).  All index data in this file will be loaded, overwriting 
  161. any index data already in memory.
  162.  
  163.  
  164. ^C(W)rite index data to disk.
  165.  
  166. This option will prompt you for a filename, then save the index data, so that 
  167. it can later be loaded with the R command described above, or merged with the 
  168. M command described below.
  169.  
  170.  
  171. ^C(E)dit or delete index data.
  172.  
  173. Once you have created a large index, you might decide that there are some 
  174. entries that shouldn't be there, or aren't quite the way you wanted; thus, an 
  175. edit feature lets you select one or more entries and manually change the data 
  176. in the selected records, or delete them entirely.  This editing can be 
  177. performed on the data in memory, or in a disk file previously created through 
  178. the W command or through merges. 
  179.  
  180. There are six options on this sub-menu, as follow:
  181.              
  182. Option 1 will toggle between the "Edit" and "Delete" functions. Edit lets you 
  183. make changes in the data in a record, while Delete removes the record 
  184. entirely. 
  185.  
  186. Option 2 lets you input a search string to indicate what records to select.  A 
  187. search string is any ASCII string.  How it is used depends on the status of 
  188. option 3 below. 
  189.  
  190. Option 3 toggles between looking for the search string in the filename or the 
  191. I.D. (location) string of each record.  In either case, records will be 
  192. selected if the search string occurs at any point in the appropriate field.   
  193. For example, the string "RAT" would select "RATES.DAT", "BRAT.TXT", and 
  194. "MUSK.RAT".  (Note that this works differently from MS-DOS wildcard 
  195. expressions; the * and ? operators are not supported here.) 
  196.  
  197. Option 4 toggles between pausing to confirm each selected record, or just 
  198. performing the requested action without a pause.  Enable this option if you 
  199. wish to be given a choice of whether to edit (or delete) each record 
  200. individually. 
  201.  
  202. Option 5 toggles between performing the edit or delete directly in memory or 
  203. in a disk file. 
  204.  
  205. Option 6 lets you input the name of the index file you want to edit, if you 
  206. have used option 5 to edit or delete in a disk file.
  207.  
  208. Option 7 will perform the edit or delete function.  In the case of an edit, 
  209. all fields of the entry will be displayed, and you can change any of them 
  210. except the filename by typing the appropriate number and entering a new value. 
  211.  
  212.  
  213. ^C(C)lear the index data in memory.
  214.  
  215. This command causes all index data in memory to be cleared, so that you can 
  216. start fresh with a new index.
  217.  
  218.  
  219. ^C(M)erge index data.
  220.  
  221. DISK INDEXER will index up to 5000 files, provided you have sufficient memory.  
  222. (640K systems handle 5000 files; 256K systems support a little over 1300 
  223. files; other memory configurations should have limits somewhere in between.)  
  224. You will be warned when the limits are close to being reached. 
  225.  
  226. This should be sufficient for garden-variety indexing, but if you want to make a
  227. really massive index of your entire disk collection, your 30-megabyte hard
  228. disk, or all of the above, you might run out of room.  Thus, still another
  229. option has been provided.  The Merge command will merge the data in memory into
  230. a previously-saved index data file, or merge two index data files.  (It will 
  231. also merge a disk file into memory, but this is of course subject to the 
  232. limitations on the number of entries in memory.)  Thus you can keep indexing 
  233. until you approach the 5000-file limit, save the data to disk; next clear the 
  234. data and start a new index with the rest of your disks; and finally merge the 
  235. two indexes together to create a fully-alphabetized index containing 
  236. everything.  In this way, you can produce indexes that are limited only by the 
  237. disk storage space. 
  238.  
  239. You choose which type of merge to perform by pressing a number from 1 to 3, or 
  240. using the up and down arrow keys to move a pointer between the options, Merge 
  241. Memory to Disk File, Merge Disk File to Disk File, and Merge Disk File to 
  242. Memory. 
  243.  
  244. 4 lets you select the input file name, if applicable.  5 lets you select the 
  245. output file name, if applicable.  6 performs the merge. 
  246.  
  247.  
  248. ^C(O)utput an index report.
  249.  
  250. Once you have completed an index, you can output a report of all or selected 
  251. files to your screen or printer.  Selecting this command brings up the 
  252. following options:
  253.  
  254. Option 1 toggles whether the report will be based on the index data in memory, 
  255. or a disk file. 
  256.  
  257. Option 2 toggles whether the output is to the screen or the printer.
  258.  
  259. Option 3 lets you select the filename to read, if the report is to be of a 
  260. disk file. 
  261.  
  262. Option 4 lets you input a search string; this works in the same manner as the 
  263. search string for the Edit function. 
  264.  
  265. Option 5 toggles between finding the search string in the filename or the I.D. 
  266. string. 
  267.  
  268. Option 6 prints the report.
  269.  
  270.  
  271. ^C(S)ave parameters to a file.
  272.  
  273. Since there are a number of parameters controlling different options of this 
  274. program, and your preferred values might not agree with the defaults specified 
  275. by the programmer, there is an option to save the parameters to a disk file.  
  276. When you later load the parameters from the saved file, all the choices and 
  277. options will be set to what they were when you saved them.  You can specify a 
  278. filename to save, so you can save several sets of parameters -- perhaps one for 
  279. indexing floppies and another for a hard disk.
  280.  
  281.  
  282. ^C(L)oad parameters from a file.
  283.  
  284. This command will load parameters which have been saved with the S command.
  285.  
  286.  
  287. ^C(V)iew directory of a disk.
  288.  
  289. This command lets you see a list of the files on a disk.  This is helpful
  290. if you want to find the name of the index or parameter data files you have 
  291. saved, or you wish to see what is on a disk before you index it.  You will be 
  292. prompted for a drive/path/mask specification in the standard MS-DOS syntax.
  293. For example, "C:\STUFF\*.*" will give you all files in the subdirectory STUFF 
  294. of drive C, while "A:*.TXT" will show you all files with the extension ".TXT" 
  295. on the disk in drive A.
  296.  
  297.  
  298. ^C(Q)uit.
  299.  
  300. This command causes DISK INDEXER to exit, and return you to BIG BLUE DISK.
  301.  
  302. If you do disk swapping in the course of indexing disks and/or saving your 
  303. index data to your own disk, be sure to replace BIG BLUE DISK (and your MS-DOS 
  304. disk, if necessary) in the same drives they were in at the time you started 
  305. running DISK INDEXER, before you exit the program.  Otherwise, you might 
  306. encounter difficulty re-connecting to the BIG BLUE DISK menu. 
  307.  
  308.  
  309. DISK FILES THIS PROGRAM USES:
  310. ^FINDEXER.CHN
  311. ^FPASRUN.COM
  312. ^FRETURN.CHN
  313.