home *** CD-ROM | disk | FTP | other *** search
/ Boldly Go Collection / version40.iso / TS / 05B / MKDLIST.ZIP / MKDLIST.DOC < prev    next >
Encoding:
Text File  |  1992-02-19  |  3.1 KB  |  83 lines

  1.  
  2.                                 MKDLIST
  3.                         Version 1.0 of 02-19-92
  4.  
  5.                      Copyright 1992 Samuel H. Smith
  6.  
  7. Purpose
  8. -------
  9.  
  10. This program can be used to speed up searching of slow drives, such as
  11. CD-ROMs. You can also use this to reduce network traffic if you list
  12. network download directories and place the listing on a local drive.
  13.  
  14.  
  15. Usage
  16. -----
  17.  
  18. MKDLIST dir ... dir [>out]
  19.  
  20. You may specify one or more directories to scan.  Subdirectories are
  21. automatically included, so
  22.         D:\
  23. will scan all directories of drive D:, while
  24.         D:\DL
  25. will scan D:\DL and all subdirectories under D:\DL.
  26.  
  27. Example
  28. -------
  29.  
  30. ECHO C:\UPLOAD >C:\PROTO\DUPLIST.DAT
  31. MKDLIST C:\DL1 D:\DL2 K:\ >>C:\PROTO\DUPLIST.DAT
  32. MKDLIST L:\COMM L:\GIF L:\EDIT L:\GRAPH >>C:\PROTO\DUPLIST.DAT
  33.  
  34. This would produce a DUPLIST file that (1) refers directly to C:\UPLOAD
  35. for recent uploads, and (2) lists the specific filenames of all
  36. available files in other download areas.
  37.  
  38. You can run MKDLIST multiple times, appending the results to a single
  39. output listing.
  40.  
  41. HS/Link betas dated 2-18-92 and later are able to process such a file list
  42. with the -NO option.   For example:
  43.  
  44.         hslink -NOc:\proto\duplist.dat ...
  45.  
  46. Batch files
  47. -----------
  48.  
  49. I recommend you create a batch or EVENT to automatically update this
  50. listing file if it refers to directories that are being updated.
  51.  
  52. The MKDLIST program output consists of all available filenames, but with
  53. drive and directory stripped off to save space.
  54.  
  55. Example batch file to update DUPELIST.DAT:
  56.  
  57. UPDLIST.BAT
  58. -----------
  59.  
  60. REM... FIRST ENTER THE "UPLOAD" DIRECTORY NAMES INTO THE DUPELIST.  THIS WILL
  61. REM... ALLOW HS/LINK TO SCAN THE LATEST FILES SINCE LAST TIME THIS BATCH WAS
  62. REM... RUN.
  63.  
  64. echo V:\UPLOAD  >U:\PCB\GEN\DUPELIST.DAT
  65. echo W:\ULW     >>U:\PCB\GEN\DUPELIST.DAT
  66. echo V:\PRIVATE >>U:\PCB\GEN\DUPELIST.DAT
  67.  
  68. REM... NOW BUILD A LIST OF FILENAMES IN THE OTHER DOWNLOAD AREAS
  69.  
  70. MKDLIST U:\DL1\ U:\DL2\ U:\DL3\ U:\DL4\ U:\DL5\ K:\DL6\ K:\DL7\ K:\DL8\ >>U:\PCB\GEN\DUPELIST.DAT
  71. MKDLIST L:\DL9\ K:\DL10\ K:\DL11\ K:\DL12\ K:\DL13\ K:\DL14\ K:\DL15\   >>U:\PCB\GEN\DUPELIST.DAT
  72. MKDLIST K:\DL16\ K:\DL17\ K:\DL18\ K:\DL19\ K:\DL20\ K:\DL21\ K:\DL22\  >>U:\PCB\GEN\DUPELIST.DAT
  73. MKDLIST K:\DL23\ K:\DL24\ K:\DL25\ L:\DL26\ L:\DL27\ L:\DL28\ V:\DL29\  >>U:\PCB\GEN\DUPELIST.DAT
  74. MKDLIST V:\DL30\ V:\DL31\ V:\DL32\ V:\DL33\ V:\DL34\ V:\DL35\ V:\DL36\  >>U:\PCB\GEN\DUPELIST.DAT
  75. MKDLIST V:\DL37\ V:\DL38\ V:\DL39\ V:\DL40\ V:\DL41\ V:\DL42\ V:\DL43\  >>U:\PCB\GEN\DUPELIST.DAT
  76. MKDLIST V:\DL44\ L:\DL45\ L:\DL46\ L:\DL47\ L:\DL48\ L:\DL49\ V:\DL50\  >>U:\PCB\GEN\DUPELIST.DAT
  77. MKDLIST W:\DL51\ W:\DL52\ L:\DL53\ W:\DL54\ W:\DL55\ W:\DL56\ W:\DL57\  >>U:\PCB\GEN\DUPELIST.DAT
  78. MKDLIST W:\DL58\ V:\DL59\ V:\DL60\ V:\DL61\ V:\DL62\ V:\DL63\ V:\DL64\  >>U:\PCB\GEN\DUPELIST.DAT
  79. MKDLIST V:\DL65\ W:\DL66\ W:\DL67\ W:\DL68\ W:\DL69\ W:\DL70\ W:\DL71\  >>U:\PCB\GEN\DUPELIST.DAT
  80. MKDLIST W:\DL72\ W:\DL73\ W:\DL74\ W:\DL75\ W:\DL76\ W:\DL77\ W:\DL78\  >>U:\PCB\GEN\DUPELIST.DAT
  81. MKDLIST W:\DL79\                                                        >>U:\PCB\GEN\DUPELIST.DAT
  82.  
  83.