home *** CD-ROM | disk | FTP | other *** search
/ What the Doctor Required - The Freshest December / December.iso / archivat / zip.all / pkzip.w32 / pkzf20.txt < prev    next >
Text File  |  1997-06-27  |  30KB  |  905 lines

  1.                         ----------------------------------
  2.                          PKZFIND (tm)  USER MANUAL
  3.                         ----------------------------------
  4.  
  5.  
  6.  
  7. Copyright (C) 1996-1997 PKWARE, Inc. All Rights Reserved.
  8.  
  9. No part of this publication may be reproduced, transmitted, 
  10. transcribed, stored in a retrieval system, or translated into 
  11. any other language in whole or in part, in any form or by
  12. any means, whether it be electronic, mechanical, magnetic,
  13. optical, manual or otherwise, without prior written consent
  14. of PKWARE, Inc.
  15.  
  16. PKWARE, INC. DISCLAIMS ALL WARRANTIES AS TO THIS SOFTWARE,
  17. WHETHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
  18. ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
  19. PARTICULAR PURPOSE, FUNCTIONALITY, DATA INTEGRITY OR
  20. PROTECTION.
  21.  
  22. PKWARE, the PKWARE logo, and PKZIP are registered
  23. trademarks of PKWARE, Inc.  PKZFIND is a trademark of PKWARE, Inc.
  24.  
  25. Trademarks of other companies mentioned in this documentation
  26. appear for identification purposes only and are the property
  27. of their respective companies.
  28.  
  29.  
  30.  
  31.  
  32. USING PKZFIND
  33.  
  34.  
  35. PKZFIND can search for any file on your hard disk, including files that 
  36. are in a .ZIP file (files compressed by PKZIP). You can tell PKZFIND to 
  37. just search for a file, or search for a file "and" automatically move to the 
  38. directory in which that file exists.
  39.  
  40. With PKZFIND, you can search for:
  41.  
  42.     *     A single file.
  43.  
  44.     *     Multiple files.
  45.  
  46.     *     Files that are contained in a .ZIP file.
  47.  
  48.     *     Files that are contained in a self-extracting .ZIP
  49.           file (.EXE files).
  50.  
  51.     *     Directory names.
  52.  
  53. You can also access multiple drives.
  54.  
  55. Even if you don't know the exact name of a file, you can specify a partial 
  56. filename and PKZFIND will find all files that match that file pattern. 
  57. Whatever your file-finding needs, you can customize PKZFIND to fit 
  58. those needs. 
  59.  
  60. Note:     PKZFIND looks at files in "share" mode, meaning that it is
  61.           compatible with network software and LANs. 
  62.  
  63.  
  64.  
  65. USING PKZFIND WITH YOUR COMMAND LINE
  66.  
  67. PKZFIND is command-line driven, which means that you type all of your 
  68. commands at an operating system command prompt. For example, if your computer 
  69. is currently on the C drive, you would type your PKZFIND commands 
  70. at the following prompt:
  71.  
  72.      C:\>
  73.  
  74. Because it uses the command line, PKZFIND takes advantage of 
  75. several features. For example, you can tell PKZFIND to search in a 
  76. specific directory or on a specific drive. You can also use such features as 
  77. wildcards (* or ?) to help PKZFIND further define your search.
  78.  
  79. Although this is not an operating system manual, it does contain basic operating
  80. system information, as it pertains to using PKZFIND. Refer to your 
  81. operating system documentation. The Sample Search Commands section 
  82. at the end of this section contains several examples of file searches. 
  83. Hopefully, these examples will closely fit your own file searching needs.
  84.  
  85.  
  86.  
  87. THE PKZFIND COMMAND
  88.  
  89. The command you use to search for files is pkzfind. No matter what operating 
  90. system conventions you use, pkzfind is always the first thing you type 
  91. at the command prompt.
  92.  
  93.  
  94.  
  95. UNDERSTANDING PKZFIND
  96.  
  97. When PKZFIND finds an occurrence of the file that you request, it 
  98. displays information about that file. It also allows you to continue the 
  99. search for other occurrences, or end the search. This is handy when you 
  100. specify a partial match, for example, if you want to search for all files
  101. that begin with the letter "B." Because there might be more files that begin 
  102. with the letter B than can fit on one screen, displaying one file at a time 
  103. prevents you from missing some of the files that PKZFIND finds.
  104.  
  105. You can customize PKZFIND to display all files at once. Refer to 
  106. ENHANCING YOUR SEARCH WITH PKZFIND OPTIONS for more information.
  107.  
  108.  
  109.  
  110. WHERE CAN PKZFIND SEARCH?
  111.  
  112. PKZFIND can search wherever you tell it to. You can search a specific 
  113. drive on your computer, or in a specific directory. If you do not specify a 
  114. drive or directory, PKZFIND automatically searches on the current drive 
  115. that you're working on, and begins from the root directory. So even if you 
  116. are a couple of directories deep on your drive, for example, \jobs\full\, 
  117. PKZFIND searches "backwards" to the "\" directory.
  118.  
  119. Note:     The "root" directory is the highest directory level on a
  120.           drive, often denoted as \ . For example, if you're on the
  121.           C drive, it would be C:\.
  122.  
  123.           Also, PKZFIND will search sub-directories as soon as it encounters
  124.           them. For example, if you are searching for a file called TEST.DOC
  125.           and that file appears both in the current directory "and" a 
  126.           sub-directory, PKZFIND might find the version in the sub-directory
  127.           first.
  128.  
  129. With PKZFIND, you can also search on more than one drive at the same 
  130. time.
  131.  
  132. Refer to the SEARCHING ON A DIFFERENT DRIVE and SEARCHING IN A SPECIFIC 
  133. DIRECTORY sections under GETTING STARTED for more information.
  134.  
  135.  
  136. CANCELLING A SEARCH
  137.  
  138. You can cancel your search at any time. To do so, hold down the Ctrl key 
  139. and type c. The search stops and the command prompt appears.
  140.  
  141.  
  142. USING HELP
  143.  
  144. Help for PKZFIND is always available. At the command prompt, type
  145. pkzfind -h and press ENTER. You can also just type pkzfind.
  146.  
  147. Sometimes, when you type the pkzfind command incorrectly, help 
  148. automatically appears on your screen.
  149.  
  150.  
  151.  
  152. GETTING STARTED
  153.  
  154. This section contains all the information you need to perform a simple 
  155. search using PKZFIND. It also shows you what happens when PKZFIND 
  156. finds a file and what happens when PKZFIND doesn't find a file.
  157.  
  158. In this section, you will learn to:
  159.  
  160.     *     Search for a single file.
  161.  
  162.     *     Search for multiple files.
  163.  
  164.  
  165.  
  166. SEARCHING FOR A SINGLE FILE
  167.  
  168. To search for a file:
  169.  
  170. 1.   Start your computer. Make sure your screen is at a command prompt (for 
  171.      example, C:\). If you are running Windows, start a command prompt window.
  172.  
  173. 2.   At the command prompt, type pkzfind, a space, and the name of the file 
  174.      you want to search for. For example, if you want to search for a file 
  175.      named resume.doc, you would type the following and press ENTER:
  176.  
  177.           pkzfind  resume.doc
  178.  
  179.  
  180.  
  181. If PKZFIND finds the file, the following happens:
  182.  
  183.  
  184.      Version and copyright information appear, then 
  185.      the following prompt:
  186.  
  187.           /JOB/RESUME.DOC 4534 09-2-94 0:45:48 More (ynj)?
  188.  
  189.      The more (ynj)? prompt allows you to continue or 
  190.      stop your search. For information on how to 
  191.      respond to this prompt, go to step 3.
  192.  
  193.  
  194.      PKZFIND displays the following information
  195.      when it finds a file:
  196.  
  197.           *    PKZFIND copyright information.
  198.  
  199.           *    The directory in which the file is located.
  200.  
  201.           *    The name of the file.
  202.  
  203.           *    The size of the file in bytes.
  204.  
  205.           *    The date and time the file was last 
  206.                modified.
  207.  
  208. If PKZFIND doesn't find a file, the following happens:
  209.  
  210.      The following message appears:
  211.  
  212.           No files found
  213.  
  214.      Note:     PKZFIND version and copyright information also appear.
  215.  
  216.      The command prompt appears.
  217.  
  218.  
  219. 3. To search for the next matching file, type y.
  220.  
  221.     PKZFIND continues to search. If another match is found, the
  222.     information pertaining to that file is displayed and 
  223.     the following prompt appears:
  224.  
  225.           more (ynj)? 
  226.  
  227.      If PKZFIND does not find another 
  228.      match, the following appears, followed 
  229.      by the command prompt:
  230.  
  231.           (x) files found.
  232.  
  233.      where x is the number of files found.
  234.  
  235.  
  236. To stop searching, type n. 
  237.  
  238.      PKZFIND stops searching and the command
  239.      prompt appears.
  240.  
  241. To jump to the directory in which the file appears 
  242. and stop searching
  243.  
  244. Type j
  245.  
  246.      PKZFIND opens a new command prompt box, then jumps to 
  247.      the directory in which the file appears and stops 
  248.      searching. The command prompt appears.
  249.  
  250. Note:  If you are using a different "command prompt interpreter," 
  251.        PKZFIND might not "jump" to the desired location 
  252.        if the command prompt interpreter defaults to a 
  253.        different location.        
  254.  
  255.  
  256. SEARCHING FOR MULTIPLE FILES
  257.  
  258. PKZFIND allows you to search for multiple files at one time. You can use 
  259. one of the following methods:
  260.  
  261.      *    Typing more than one filename.
  262.  
  263.      *    Using wildcards to specify a partial file pattern.
  264.  
  265.  
  266. TYPING MORE THAN ONE FILENAME
  267.  
  268. To type more than one filename, put a space between each filename in 
  269. your pkzfind command. For example, if you want to search for a file 
  270. named RESUME.DOC and a file named letter.doc, you would type the 
  271. following and press ENTER:
  272.  
  273.      pkzfind  resume.doc  letter.doc
  274.  
  275.  
  276.  
  277. SPECIFYING A FILE PATTERN USING WILDCARDS
  278.  
  279. Sometimes when you're searching for a file, you're not sure of the entire 
  280. name of the file, but know at least a partial name or the file extension (for 
  281. example, .DOC). In this case, you can use the wildcard symbol, the 
  282. asterisk (*). For example, you might want to search for all files that 
  283. contain the .DOC extension. To search for those files, you would type the 
  284. following and press ENTER:
  285.  
  286.      pkzfind  *.DOC
  287.  
  288. This tells PKZFIND to search for all files on the current drive that end in 
  289. .DOC. The asterisk indicates that the name of the file can be anything, as 
  290. long as it ends in .DOC.
  291.  
  292. For more information on wildcards, refer to your documentation.
  293.  
  294.  
  295.  
  296. TELLING PKZFIND WHERE TO SEARCH
  297.  
  298. Now that you've learned to do a basic file search with PKZFIND, the next 
  299. step is to learn how to tell PKZFIND to search in a particular location, for 
  300. example, a specific directory or drive.
  301.  
  302. In this section, you will learn to:
  303.  
  304.      *    Search on a different drive.
  305.  
  306.      *    Search on multiple drives.
  307.  
  308.      *    Search in a specific directory.
  309.  
  310.  
  311.  
  312. SEARCHING ON A DIFFERENT DRIVE
  313.  
  314. PKZFIND allows you to search on a drive other than the drive you are on. 
  315. To search on a different drive, type the name of the drive after the 
  316. filename. For example, if you want to search for the file named 
  317. RESUME.DOC on the D: drive while you are on the C: drive, you would 
  318. type the following and press ENTER:
  319.  
  320.      pkzfind  resume.doc  d:
  321.  
  322. If you type only the drive letter with a backslash (\) and not a directory, 
  323. PKZFIND starts the search in the root directory, which is \.
  324.  
  325. For more information on drives, refer to your operating system documentation.
  326.  
  327.  
  328.  
  329. SEARCHING ON MULTIPLE DRIVES
  330.  
  331. With PKZFIND, you can search on multiple drives at the same time. For 
  332. example, if you know that the file named RESUME.DOC is either on the 
  333. C drive or D drive, you could type the following and press ENTER:
  334.  
  335.      pkzfind  resume.doc  c:  d:
  336.  
  337. If the file resides on both drives, PKZFIND will find and display both 
  338. occurrences of that file.
  339.  
  340.  
  341.  
  342. SEARCHING IN A SPECIFIC DIRECTORY
  343.  
  344. If you don't specify a directory in which to search, PKZFIND 
  345. automatically starts to search from the root directory on your current drive 
  346. (for example, C:\) and searches through every directory under that root 
  347. directory. However, with PKZFIND, you can search in any directory that 
  348. you want.
  349.  
  350. For example, if you know that the file named RESUME.DOC is 
  351. somewhere under a directory named jobs and you want PKZFIND to only 
  352. search under that directory, you could type the following and press 
  353. ENTER:
  354.  
  355.      pkzfind  resume.doc  \JOBS
  356.  
  357. If the file you're searching for is on a different drive, for example, D:,
  358. you would type something similar to the following:
  359.  
  360.      pkzfind  resume.doc  d:\JOBS
  361.  
  362.      Note:     Don't forget to put the backslash (\) before the name of the
  363.                directory. When you specify directories using PKZFIND, follow
  364.                the rules of your operating system. For more information on 
  365.                directories, refer to your operating system documentation.
  366.       
  367.  
  368.  
  369. ENHANCING YOUR SEARCH WITH PKZFIND OPTIONS
  370.  
  371. PKZFIND contains several options that help you enhance your file 
  372. search. For example, you can tell PKZFIND to jump to the location at 
  373. which it finds a file, or you can indicate that you only want PKZFIND to 
  374. search inside .ZIP files. Each option is represented by a single letter that 
  375. you include in the pkzfind command. You can also combine most of these 
  376. options in a single command. 
  377.  
  378. The information that PKZFIND displays when it finds a file differs from 
  379. option to option. For example, if you use the -b option (display only the 
  380. filename), PKZFIND only displays the name of the file, not the size, date 
  381. or time. If you use the -z option (search only in .ZIP files), PKZFIND
  382. displays the name of the .ZIP file "and" the file that you're searching for 
  383. that is contained in that .ZIP file. 
  384.  
  385. The following is a list of PKZFIND options:
  386.  
  387.  
  388.      -b   Display only the filename.
  389.  
  390.  
  391.      -c   List all matching files without stopping, 
  392.           and skip the more (ynj)? prompt.
  393.  
  394.           Normally, PKZFIND searches one file 
  395.           at a time and gives you the opportunity 
  396.           to continue the search or stop the search.
  397.  
  398.           You should always use this option whenever
  399.           you re-direct output from your PKZFIND command
  400.           to a file or printer. Otherwise, your search will
  401.           stop "without" the prompt appearing. (Even though
  402.           the More (ynj)? prompt won't appear, you can still
  403.           type y, n, or j.)
  404.  
  405.      -d   List directories that have the same name 
  406.           as the file(s) that you specified.
  407.  
  408.  
  409.      -j   Jump to the drive and directory in which 
  410.           PKZFIND finds a file.
  411.  
  412.  
  413.      -z   Search only in .ZIP files (for files that 
  414.           were compressed by PKZIP).
  415.  
  416.  
  417.      -e   Search also in self-extracting .ZIP files 
  418.           (.EXE files).
  419.  
  420.  
  421.      -n   Search only for files that are "not" 
  422.           contained in a .ZIP file.
  423.  
  424.  
  425.      -m   Use less memory to search in .ZIP and .EXE files by
  426.           removing the use of memory mapped files.
  427.  
  428.           Using this option might significantly slow down your
  429.           search, especially if you also use the -t option with
  430.           the -m option.  (this option is not used on versions
  431.           of PKZFIND run on OS/2)
  432.  
  433.  
  434.      -o   Open the .ZIP or .EXE file that contains the
  435.           file(s) for which you are searching.  (on OS/2
  436.           this option will only run .EXE's, it will not 
  437.           open a .ZIP)
  438.  
  439.  
  440.      -t   Make sure PKZFIND does not skip files within
  441.           self-extracting .ZIP files (.EXE files) during its
  442.           search.
  443.  
  444.  
  445. You can also search for a file based on "size." You can specify bytes, 
  446. kilobytes, or megabytes, depending on your needs. You can also specify a 
  447. range of sizes. For example, you can search for all files that are larger 
  448. than 100 bytes but smaller than 200 bytes.
  449.  
  450.  
  451.      *    To search for files that are equal to or "larger" than xxx bytes
  452.           type a forward slash (/) "or" minus sign (-), a plus sign (+),
  453.           and the number of bytes (for example, pkzfind  /+555). 
  454.  
  455.           PKZFIND finds all files that are equal to or larger than the number 
  456.           of bytes you type.
  457.  
  458.  
  459.      *    To search for files that are equal to or "smaller" than xxx
  460.           "bytes," type forward slash (/) "or" minus sign (-), a minus
  461.           sign (-), and the number of bytes (for example, pkzfind  /-555). 
  462.  
  463.           PKZFIND finds all files that are equal to or smaller than the number 
  464.           of bytes you type.
  465.  
  466.  
  467.      *    To search for files that fall within a size range, in bytes
  468.           (for example, equal to or "larger" than 9500 bytes but smaller 
  469.           than or equal to 11,000 bytes), type a forward slash (/), a plus
  470.           sign (+), the minimum number of bytes, a minus sign (-) and the
  471.           maximum number of bytes (for example, pkzfind  /+9500-11000).
  472.  
  473.           Do not put a space between the two values. 
  474.  
  475.           Also, you can type the values in any order. For example,
  476.           the maximum value first and the minimum value last
  477.           (pkzfind  /-11000+9500). You must put the forward slash in front 
  478.           of the "first" value you type.
  479.  
  480.  
  481.      *    To search for files that are equal to or "larger" than xxx
  482.           kilobytes, type forward slash (/) "or" minus sign (-), a plus
  483.           sign (+), the number of kilobytes, and the letter k.
  484.  
  485.           Do not put a space between the number and the letter (for example, 
  486.           pkzfind  /+100k).
  487.  
  488.  
  489.      *    To search for files that fall within a size range, in kilobytes
  490.           (for example, equal to or "larger" than 95 kilobytes but smaller 
  491.           than or equal to 110 kilobytes), type a forward slash (/), a plus
  492.           sign (+), the minimum number of kilobytes, the letter k, a minus
  493.           sign (-), the maximum number of kilobytes, and the letter k (for 
  494.           example, pkzfind /+95k-110k).
  495.  
  496.           Do not put a space between the two values. 
  497.  
  498.           Also, you can type the values in any order. For example, the
  499.           maximum value first and the minimum value last
  500.           (pkzfind  /-110k+95k). You must put the forward slash in front 
  501.           of the "first" value you type.
  502.  
  503.  
  504.      *    To search for files that are equal to or "larger" than xxx
  505.           megabytes, type forward slash (/) "or" minus sign (-), a plus
  506.           sign (+), the number of megabytes, and the letter m.
  507.  
  508.           Do not put a space between the 
  509.           number and the letter (for example, pkzfind  /+10m).
  510.  
  511.  
  512.      *    To search for files that fall within a size range, in megabytes
  513.           (for example, equal to or "larger" than 2 megabytes but smaller
  514.           than or equal to 3 megabytes), type a forward slash (/), a
  515.           plus sign (+), the minimum number of megabytes, the letter m, a
  516.           minus sign (-), the maximum number of megabytes, and the
  517.           letter m (for example, pkzfind /+2m-3m).
  518.  
  519.           Do not put a space between the two values. 
  520.  
  521.           Also, you can type the values in any order. For example, the
  522.           maximum value first and the minimum value last (pkzfind /-3m+2m).
  523.           You must put the forward slash in front of the "first" value you
  524.           type.
  525.  
  526.  
  527. For more information on the options listed above, refer to the appropriate 
  528. sections in this file. For information on how to use these options, refer 
  529. to the INCLUDING AN OPTION IN THE PKZFIND COMMAND and USING MORE THAN 
  530. ONE OPTION SIMULTANEOUSLY sections that follow.
  531.  
  532.  
  533.  
  534. INCLUDING AN OPTION IN THE PKZFIND COMMAND
  535.  
  536. You can put a PKZFIND option anywhere in the command line, but it 
  537. must be separated from other elements in the command (for example, a 
  538. filename) by spaces. The example below uses the -d option, which allows 
  539. you to search for directories.
  540.  
  541.      pkzfind  -d  resume.doc
  542.  
  543. In this example, you also could have typed one of the following:
  544.  
  545.      pkzfind  resume.doc  -d
  546.  
  547.      pkzfind  resume.doc  /d
  548.  
  549.      pkzfind  /d  resume.doc
  550.  
  551.  
  552.  
  553. USING MORE THAN ONE OPTION SIMULTANEOUSLY
  554.  
  555. PKZFIND allows you to use more than one option in a single command. 
  556. To combine options, type the options right next to each other in the 
  557. pkzfind command, using one dash (-). Do not put a space between each 
  558. option. For example, if you combined the -b (display only the name of the 
  559. file) and -j (jump to a directory) options and are searching for the file 
  560. RESUME.DOC, you would type the following and press ENTER:
  561.  
  562.      pkzfind  -jb  resume.doc
  563.  
  564. You can type the options in any order.
  565.  
  566.  
  567.  
  568. DISPLAYING FILENAMES ONLY
  569.  
  570. Normally, when PKZFIND displays a file, it includes the name, size, date, 
  571. and time for that file. When you use the -b option, PKZFIND only 
  572. displays the name of the file. For example, if you type 
  573. pkzfind  -b  resume.doc and PKZFIND finds the file named 
  574. RESUME.DOC in the \work\jobs directory, your screen would look 
  575. similar to the following:
  576.  
  577.      C:\> pkzfind  -b  resume.doc
  578.  
  579.       /WORK/JOBS/RESUME.DOC
  580.  
  581.      1 file found.
  582.  
  583.      C:\>
  584.  
  585.  
  586. Note:     PKZFIND version and copyright information also appears.
  587.  
  588.  
  589.  
  590. DISPLAYING ALL MATCHING FILES AT ONCE
  591.  
  592. Normally, PKZFIND displays one file at a time and prompts you if you 
  593. want to search for more. When you use the -c option, PKZFIND displays 
  594. all matching files at once and does not prompt you.
  595.  
  596. Note:     If you search for a file match and anticipate more than one
  597.           screenful of matches, you might not want to use this option 
  598.           because some files might flash on and off your screen before you 
  599.           have a chance to see them.
  600.  
  601.  
  602.  
  603. DISPLAYING DIRECTORIES WITH THE SAME NAME AS A FILE         
  604.  
  605. When you use the -d option, PKZFIND displays directories that have the 
  606. same name as the file(s) you specified. For example, if you have a file 
  607. named jobs and a directory named jobs, PKZFIND would display both 
  608. and look similar to the following:
  609.  
  610.      C:\>  pkzfind  -d  jobs
  611.  
  612.      /JOBS/                               08-23-94   12:24:34
  613.      
  614.      /WORK/RESUME/JOBS             3792   10-12-94   10:02:28
  615.           
  616.      
  617.      1 file found.
  618.      
  619.      1 directory found.
  620.  
  621.      C:\>
  622.  
  623. The first line contains the directory name.
  624.  
  625. Note:     PKZFIND version and copyright information also appears.
  626.  
  627. Note:     To "only" display directory names, use the -d, -z, and -n
  628.           options together.
  629.  
  630.  
  631.  
  632. JUMPING TO A DIRECTORY IN WHICH A FILE WAS FOUND
  633.  
  634. When you use the -j option, PKZFIND automatically jumps to the 
  635. directory in which the file is located. For example, if you type 
  636. pkzfind  -j  resume.doc and PKZFIND finds the file named 
  637. RESUME.DOC in the \work\jobs directory, your screen would look 
  638. similar to the following:
  639.  
  640.      C:\> pkzfind  -j  resume.doc
  641.  
  642. PKZFIND opens a new command prompt box, displays the following, 
  643. then jumps to the directory in which the file appears and stops 
  644. searching. The command prompt appears.
  645.  
  646.  
  647.      /WORK/JOBS/RESUME.DOC          33792   10-12-94   10:02:28
  648.      
  649.           
  650.      1 file found.
  651.  
  652.      C:\WORK\JOBS>
  653.  
  654. Note:  If you are using a different "command prompt interpreter," 
  655.        PKZFIND might not "jump" to the desired location 
  656.        if the command prompt interpreter defaults to a 
  657.        different location.
  658.         
  659.       
  660. Note:  PKZFIND version and copyright information also appears.
  661.  
  662. Notice that you are now in the directory in which PKZFIND found the file 
  663. (in this example, \work\jobs).
  664.  
  665.  
  666.  
  667. SEARCHING FOR FILES CONTAINED IN .EXE FILES
  668.  
  669. When you use the -e option, PKZFIND also searches for files that are 
  670. contained in a self-extracting .ZIP file (a self-extracting .ZIP file that
  671. has a .EXE extension). When PKZFIND displays files that are contained in a 
  672. self-extracting .ZIP file, those files appear indented under the name of the 
  673. .EXE file. For example, if you have a file named RESUME.DOC that is 
  674. contained in a self-extracting .EXE file named WORK.EXE, your screen 
  675. would look similar to the following:
  676.  
  677.      C:\> pkzfind  -e  resume.doc
  678.  
  679.      /WORK/*JOBS/WORK.EXE
  680.  
  681.      * RESUME.DOC                  3792          10-12-94        10:02:28
  682.  
  683.      1 file found.
  684.  
  685.      C:\>
  686.  
  687. When PKZFIND searches .EXE files, it has to determine if 
  688. the .EXE file is a "self-extracting" .EXE file. Because of this, some 
  689. files within a self-extracting .EXE file (to search) might be 
  690. inadvertently skipped. To prevent this from happening, you can use the
  691. "-t" option with the "-e" option. 
  692.  
  693.  
  694. Note:     PKZFIND version and copyright information also appears.
  695.  
  696. Note:     To "only" search in .EXE files and not .ZIP files nor files
  697.           outside of .EXE files, use the -e, -z, and -n options
  698.           together.
  699.  
  700.  
  701.  
  702. SEARCHING ONLY FOR FILES CONTAINED IN A .ZIP FILE
  703.  
  704. When you use the -z option, PKZFIND searches only for files that are 
  705. contained in a .ZIP file. To include self-extracting .ZIP files in your 
  706. search, use the -e option also. In the following example, the file named 
  707. RESUME.DOC is displayed only because it is contained in a .ZIP file:
  708.  
  709.      C:\> pkzfind  -z  resume.doc
  710.  
  711.  
  712.  
  713.      /WORK/JOBS/TEMP.ZIP
  714.      
  715.           * RESUME.DOC             3792   10-12-94   10:02:28
  716.      
  717.            
  718.      1 file found.
  719.     
  720.          
  721.      C:\>
  722.  
  723.  
  724. Note:     PKZFIND version and copyright information also appears.
  725.  
  726. Note:     To search in .ZIP and .EXE files only, use the -e and -z
  727.           options together.
  728.  
  729.  
  730.  
  731. OPENING THE .ZIP or .EXE FILE IN WHICH FILES ARE FOUND
  732.  
  733. When you search inside .ZIP or .EXE files for individual files, you 
  734. can have PKZFIND open that .ZIP or .EXE file using the -o option. For
  735. example, if you use the -z option to search inside .ZIP files, and you
  736. also want to open the .ZIP file that contains the individual files,
  737. you would type something similar to the following:
  738.  
  739.       C:\> pkzfind  -z  -o  resume.doc
  740.  
  741.  
  742. You can also use this feature with the More (ynj)? prompt by typing "o"
  743. at the prompt.
  744.  
  745. If the desired file is found in a self-extracting (.EXE), 
  746. PKZFIND will execute the file. If the .EXE file is a DOS self-extracting 
  747. file, all files in the .EXE file will be extracted. If the .EXE file is 
  748. a Windows self-extracting file, the "extract" dialog box (the box 
  749. that automatically appears for Windows self-extractors) will appear. 
  750.  
  751. If the desired file is found inside a regular .ZIP file, the application
  752. associated with .ZIP files will be started. If no application is associated
  753. with .ZIP files, nothing will happen.
  754.  
  755.  
  756.  
  757. SEARCHING ONLY FOR FILES NOT CONTAINED IN .ZIP FILES
  758.  
  759. When you use the -n option, PKZFIND does not look in .ZIP files. For 
  760. example, if the file named RESUME.DOC appeared in the \work\jobs 
  761. directory in its regular form and in compressed form in a .ZIP file, 
  762. PKZFIND displays only the non-zipped version, as shown in the 
  763. following:
  764.  
  765.      C:\> pkzfind  -n  resume.doc
  766.          
  767.      
  768.      /WORK/JOBS/RESUME.DOC                33792   10-12-94   10:02:28
  769.      
  770.          
  771.      1 file found.
  772.      
  773.      C:\>
  774.  
  775.  
  776. Note:     PKZFIND version and copyright information also appears.
  777.  
  778.  
  779.  
  780. SAMPLE SEARCH COMMANDS
  781.  
  782. This section contains some sample PKZFIND search commands. The 
  783. purpose of these samples is to show you some of the ways you can search 
  784. for files, including the use of PKZFIND options. While browsing through 
  785. these examples, you will notice that there is usually more than one way to 
  786. type a command for the same search. All of these samples use an example 
  787. file named RESUME.DOC.
  788.  
  789. Each sample contains the following:
  790.  
  791.      *    The search criteria used.
  792.  
  793.      *    The command(s) that you can type.
  794.  
  795.      *    A brief description of the sample.
  796.  
  797.  
  798.  
  799. Sample 1  -  Search on the current drive for a single file.
  800.  
  801.                     pkzfind  resume 
  802.  
  803. This is the simplest pkzfind command you can type.
  804.  
  805.  
  806. Sample 2  -  Search on the current drive for any file that begins with
  807.              any specific file pattern.
  808.  
  809.                     pkzfind  resume.*
  810.  
  811.              The wildcard (*) indicates that the file can end in 
  812.              any text, as long as it begins with "resume."
  813.  
  814.  
  815. Sample 3  -  Search on the current drive for any file that ends with the 
  816.              a specific extension.
  817.  
  818.                     pkzfind  *.doc
  819.  
  820. The wildcard (*) indicates that the filename can be anything, as long as 
  821. the extension is .DOC.
  822.  
  823.  
  824. Sample 4  -  Search for a file in a specific directory under the root 
  825.              directory (\).
  826.  
  827.                     pkzfind  resume.doc  \work\jobs
  828.                
  829.                     pkzfind  resume.doc  work\jobs
  830.                
  831.                     pkzfind  \work\jobs  resume.doc
  832.  
  833.                     pkzfind  work\jobs  resume.doc
  834.  
  835. This sample assumes that you are typing from the root 
  836. directory. Notice that you have the option of whether or 
  837. not to begin the directory path with a backslash (\).
  838.  
  839.  
  840. Sample 5  -  Search for a file in a sub-directory of the directory that is 
  841.              immediately above the directory you are in.
  842.  
  843.                     pkzfind  resume.doc  ..\jobs
  844.  
  845.                     pkzfind  ..\jobs  resume.doc
  846.  
  847. The double periods (..) indicate that you want to search 
  848. from the directory that appears above the directory that 
  849. you are in.
  850.  
  851.  
  852. Sample 6  -  Search for a file on the current drive and only display the 
  853.              filename (not the size, date, and time).
  854.  
  855.                     pkzfind  resume.doc -b
  856.                     
  857.                     pkzfind  resume.doc /b
  858.                     
  859.                     pkzfind  -b  resume.doc
  860.                     
  861.                     pkzfind  /b  resume.doc
  862.  
  863. You can use either the dash (-) or forward slash (/) to 
  864. precede a PKZFIND option.
  865.  
  866.  
  867. Sample 7  -  Search on a different drive.
  868.  
  869.                     pkzfind  resume.doc d:
  870.  
  871.                     pkzfind  d:  resume.doc
  872.  
  873. You must always include a colon (:) when specifying a 
  874. drive.
  875.  
  876.  
  877. Sample 8  -  Search on a different drive and specifying a directory in 
  878.              which to search.
  879.               
  880.                     pkzfind  d:\work\jobs  resume.doc
  881.                     
  882.                     pkzfind  resume.doc d:\work\jobs
  883.  
  884.  
  885. Sample 9  -  Search on a different drive, include directories in your 
  886.              search, and request a continuous listing of files.
  887.  
  888.                     pkzfind  d:  -cd  resume.doc
  889.                     
  890.                     pkzfind  resume.doc -cd  d:
  891.                     
  892.                     pkzfind  -cd  resume.doc d:
  893.                     
  894.                     pkzfind  -c  -d  resume.doc d:
  895.  
  896.  
  897. Sample 10  -  Search for files that are larger than or equal to "xxx" 
  898.               bytes but smaller than or equal to "xxx" bytes
  899.  
  900.                     pkzfind  /+9500-11000  resume.doc
  901.                     
  902.                     pkzfind  /-11000+9500  resume.doc
  903.  
  904.  
  905.