home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / dirutl / ffind133.arc / FFIND.DOC < prev   
Encoding:
Text File  |  1989-04-20  |  9.2 KB  |  316 lines

  1. FFIND.COM serches file(s) under specified name(s).
  2.    (ver.1.33 .)
  3.    This is a simple, compact and efficient finder which searches specified
  4. file_names in directories, subdirectories or drives specified. By using
  5. optional switches, you can extend search to all the currently available
  6. drives. This small utility supports verbose listing of all the files
  7. archived in LHarc, Larc, Arc, Pak and PKzip. You do not need these archivers
  8. to be present on your disk(s).
  9.  
  10. [Synopsis]
  11.  
  12. ffind [-acdhkpqrx] [<drive:>] [<directory>] file_name.
  13.    for command line mode.
  14. ffind
  15.    for interactive mode.
  16.  
  17. Optional switch(es) can be set after swhitch-character "-" as many as
  18. you wish. Please note there are some contradictory combinations where
  19. one overrides another. The switch h is a special switch to display
  20. the help menu.
  21.  
  22. [Switches]
  23.  
  24.  
  25. 1.No Switch.
  26.  
  27. ffind ffind.com
  28.  
  29. Search 'ffind.com' in the current drive from the top directory.
  30. Output:
  31. -----------------------
  32. FILE NAME = ffind.com
  33. PATH NAME = C:\
  34.  
  35. Directory    : C:\ARCHIVE\
  36.    FFIND.COM       :        8066  89-04-07   23:54            A
  37.  
  38. Directory    : C:\BIN\
  39.    FFIND.COM       :        8066  89-04-07   23:54            A
  40.  
  41.  
  42. Number of files    = 2
  43. --------------------------------------------------------------------
  44. 2. Switch -s.
  45.  
  46. ffind -s ffind.com
  47.  
  48.   Search all 'more.com' in your current directory and all the subdirectories
  49. under the curent, suppose if you are in the root of C: and type the above
  50. what you get is:
  51. ------------------------------------------------------------------------
  52. FILE NAME = ffind.com
  53. PATH NAME = C:\
  54.  
  55. Directory    : C:\
  56.    FFIND.COM       :        8066  89-04-07   23:54            A
  57.  
  58. Directory    : C:\ARCHIVE\
  59.    FFIND.COM       :        8066  89-04-07   23:54            A
  60.  
  61. Directory    : C:\BIN\
  62.    FFIND.COM       :        8066  89-04-07   23:54            A
  63.  
  64.  
  65. Number of files    = 3
  66. --------------------------------------------------------------------------
  67.  
  68. 3. Switch -c.
  69.  
  70. ffind -c ffind.com
  71.  
  72.   Concise disply. The difference with No Switch is that the first few lines
  73. are suppresed and full path_name(s) will be shown as:
  74. ------------------------------------------------------------------------
  75. C:\ARCHIVE\FFIND.COM       :        8066  89-04-07   23:54            A
  76. C:\BIN\FFIND.COM       :        8066  89-04-07   23:54            A
  77. Number of files    = 2
  78. -----------------------------------------------------------------------
  79.   are suppressed. Only the path_name(s) will be shown.
  80.  
  81. 4. Swith -a.
  82.  
  83. ffind -a ffind.com
  84.  
  85.   Search for ffind.com in all the disks connected. This will take a certain
  86. amount of time if you specify wild cards. The output for the above is :
  87. --------------------------------------------------------------------------
  88. FILE NAME = ffind.com
  89. PATH NAME = C:\
  90.  
  91. Disk drive  A
  92.  
  93. Disk drive  B
  94.  
  95. Disk drive  C
  96.  
  97. Directory    : C:\
  98.    FFIND.COM       :        8066  89-04-07   23:54            A
  99.  
  100. Directory    : C:\ARCHIVE\
  101.    FFIND.COM       :        8066  89-04-07   23:54            A
  102.  
  103. Directory    : C:\BIN\
  104.    FFIND.COM       :        8066  89-04-07   23:54            A
  105.  
  106.  
  107. Number of files    = 3
  108. ---------------------------------------------------------------------------
  109. 5. Switch -d.
  110.  Report all the directory name(s) where search was made.
  111.  
  112. ffind -d ffind.com
  113. ---------------------------------------------------------------------------
  114.  
  115. FILE NAME = ffind.com
  116. PATH NAME = C:\
  117.  
  118. Directory    : C:\
  119.    FFIND.COM       :        8066  89-04-07   23:54            A
  120.  
  121. Directory    : C:\REDUCE\
  122.       No file.
  123.  
  124. Directory    : C:\REDUCE\EQU\
  125.       No file.
  126.  
  127. Directory    : C:\REDUCE\DAT\
  128.       No file.
  129.  
  130. Directory    : C:\REDUCE\RED\
  131.       No file.
  132.  
  133. Directory    : C:\REDUCE\OUT\
  134.       No file.
  135.  
  136. Directory    : C:\ARCHIVE\
  137.    FFIND.COM       :        8066  89-04-07   23:54            A
  138.  
  139. Directory    : C:\ARCHIVE\DOC\
  140.       No file.
  141.  
  142. Directory    : C:\GMK3\
  143.       No file.
  144.  
  145. Directory    : C:\WORDS\
  146.       No file.
  147.  
  148. Directory    : C:\BIN\
  149.    FFIND.COM       :        8066  89-04-07   23:54            A
  150.  
  151.  
  152. Number of files    = 3
  153. ---------------------------------------------------------------------------
  154. 6.Switch -k.
  155.  
  156. ffind -k ffind.com
  157.  
  158. supresses file_size, time, and date. Output:
  159. --------------------------------------------------------------------------
  160.  
  161. FILE NAME = ffind.com
  162. PATH NAME = C:\
  163.  
  164. Directory    : C:\
  165.    FFIND.COM       :            A
  166.  
  167. Directory    : C:\ARCHIVE\
  168.    FFIND.COM       :            A
  169.  
  170. Directory    : C:\BIN\
  171.    FFIND.COM       :            A
  172.  
  173.  
  174. Number of files    = 3
  175. -------------------------------------------------------------------------
  176.  
  177. 7. Switch -x.
  178.    This switch will prompt you to type in two strings, one in front of
  179. "heading character" an ouput line and the other "trailing character" 
  180. following it. Designed primarily for the purpose of making a batch file
  181. by redirecting the output. Use this switch with -p switch.
  182.  
  183.    The following is an output when you place "lharc e" in front, and "d:"
  184. following the full path_name with the command line:
  185.  
  186.     ffind -pcx *.lzh
  187.  
  188. -----------------------------------------------------------------------
  189. lharc e
  190. d:
  191. lharc e C:\ARCHIVE\MATHDIC.LZH d:
  192. lharc e C:\ARCHIVE\UUCPMAIL.LZH d:
  193. lharc e C:\ARCHIVE\NDMAKE45.LZH d:
  194. lharc e C:\ARCHIVE\PCLESS.LZH d:
  195. lharc e C:\ARCHIVE\APMLIB.LZH d:
  196. Number of files    = 5
  197. -------------------------------------------------------------------------
  198.  
  199.  
  200. 8. Switch -p.
  201.    The switch is to show full path_name instead of drive, directory names
  202. separated from file_name. Designed primarily for redirections.
  203.  
  204. ffind -p less.exe
  205.  
  206. in the following output the file is found archived "+ less.exe" in LHarc
  207. file "pcless.lzh".
  208.  
  209. --------------------------------------------------------------------------- 
  210. FILE NAME = less.exe
  211. PATH NAME = C:\
  212.  
  213. Directory    : C:\ARCHIVE\
  214. C:\ARCHIVE\PCLESS.LZH
  215.   + LESS.EXE               29695  87-01-15   08:15  
  216. C:\ARCHIVE\LESS.EXE        :       29695  87-06-16   21:28            A
  217.  
  218. Directory    : C:\BIN\
  219. C:\BIN\LESS.EXE        :       29695  87-06-16   21:28            A
  220.  
  221.  
  222. Number of files    = 3
  223. ----------------------------------------------------------------------------
  224. 9.Switch -q.
  225.  
  226. ffind -qa *.*
  227.  
  228. This switch will quit searching inside archived files. When you use
  229. ffind -a *.* in your hard disk or large memory-size ramdisk will take
  230. too much time. The q switch will save your time.
  231. ------------------------------------------------------------------------
  232. FILE NAME = *.*
  233. PATH NAME = C:\
  234.  
  235. Disk drive  A
  236.  
  237. Directory    : A:\
  238.    TBIOS.SYS       :       13745  87-10-10   12:21  R H S     A
  239.    TDOS.SYS        :       28464  87-08-18   15:53  R H S     A
  240.  
  241. Disk drive  B
  242.  
  243. Directory    : B:\FINDER\
  244.    COMMAND.COM     :       24844  87-09-18   08:00            A
  245.    WF.EXE          :       31745  81-10-17   10:00            A
  246.  
  247. Disk drive  C
  248.  
  249. Directory    : C:\
  250.    IBMBIO.COM      :       19967  88-11-10   09:00  R H S     A
  251.    EGA32CPY.SYS    :       32768  88-05-10   08:00  R   S     A
  252.  
  253. Directory    : C:\REDUCE\
  254.    SL86.SYS        :        8055  87-02-01   00:00            A
  255.  
  256. Directory    : C:\REDUCE\EQU\
  257.    F1.EQU          :         217  81-08-24   14:00            A
  258.  
  259. Directory    : C:\REDUCE\DAT\
  260.    F1.DAT          :         316  87-02-15   17:38            A
  261.    F2.DAT          :         309  87-02-15   17:38            A
  262.  
  263. Directory    : C:\REDUCE\RED\
  264.    ELIM.RED        :         218  88-08-15   15:04            A
  265.       ............................... 
  266.       ..............................
  267. Number of files    = 341
  268. ----------------------------------------------------------------------------
  269.   As you see from this output ffind will replace tree.com and will
  270. list up all the files with ANY attribute.
  271.  
  272. 10.Switch -r.
  273.   This is for the verbose listing of archive files as:
  274.  
  275. ffind -r pcless.lzh
  276.  
  277. --------------------------------------------------------------------------
  278. FILE NAME = pcless.lzh
  279. PATH NAME = C:\
  280.  
  281. Directory    : C:\ARCHIVE\
  282.    PCLESS.LZH      :       24770  89-04-03   23:25            A
  283.     + LESS.EXE               29695  87-01-15   08:15  
  284.     + LESS.HDR                 682  87-01-15   09:00  
  285.     + LESS.MAN               12455  87-01-15   09:00  
  286.     + READ.ME                 2904  87-01-15   09:00  
  287.  
  288.  
  289. Number of files    = 1
  290. ---------------------------------------------------------------------------
  291.   The archiving methods supported are ARC,ZIP,Larc and LHarc files.
  292. Please check if an archived file with .arc extension can not be
  293. opened, whether it is packed by Pak or not. Some of the earlier versions
  294. of Pak and Pkarc had .arc extensions.
  295.  
  296.   Please try and make experimentation on this small and fast utility.
  297. Some switches, like -a will override drive specifications. The switches
  298. may be specified in any order. 
  299.  
  300.   An interactive mode is open when you simply type
  301.  
  302.  ffind
  303.  
  304. and you will be shown switch names and is prompted to type in switches
  305. and file_name you are looking for.
  306.  
  307.  ffind ?
  308.  
  309. will show you the help menu.
  310.  
  311.   I welcome bug report and comments. Send them to the address K.Okubo,Genie.
  312.  
  313.   PCVAN SBF06322 Sanpusoukaku = Sommelier_de_Programmes.
  314. This version fixed the bug which was in 1.32 to look over archived files
  315. when it meets a file of reduced size over 64KB.
  316.