home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / z / zscan202.zip / Z.DOC < prev    next >
Text File  |  1993-03-03  |  15KB  |  427 lines

  1.                                Z  Version 2.02
  2.                        Copyright (C) 1993  Henry Gerlach
  3.  
  4.  
  5.  
  6.                                    Z.DOC
  7.  
  8.                               By Henry Gerlach
  9.  
  10. Please see ZREGISTR.DOC for info on registration, It only costs
  11. $3.00 and will get rid of the annoying beg screen at the beginning of
  12. the program.
  13.  
  14. Zscan, whether registered or not, comes with no warranty, Express or
  15. Implied, and the author of this program will not be liable
  16. for any damages.
  17.  
  18. Welcome to the easiest and most full featured files scanner going.
  19.  
  20. Before using Z.EXE you will need to download the file directories for your 
  21. BBS.
  22.  
  23. Z.EXE works for the most part like a Z command online on PCBoard.
  24.  
  25. When running Z.EXE the first time you will be sent to the configure 
  26. section., There, you must enter the path that 
  27. the directories can be found at, the base name of the files without
  28. any numbers, and the highest and lowest directory 
  29. number used. (the directories must have numbers in their names, 
  30. I/E DIR1, DIR2, etc.) In the case of a single .LST file,
  31. you can rename it to end with a number 1, like:
  32.  
  33. BBSFILES.LS1     instead of BBSFILES.LST
  34.  
  35. Config allows 10 different sets to be defined in this way. From the main 
  36. menu, just enter a digit (0-9) the default set is set 0. when you run
  37. Z to scan for some thing, you may use any or all of these sets. That
  38. will be explained later.
  39.  
  40. Config
  41.  
  42. This is what you will see in config:
  43.  
  44.          0 : Info for directory set 0
  45.          1 : Info for directory set 1
  46.          2 : Info for directory set 2
  47.          3 : Info for directory set 3
  48.          4 : Info for directory set 4
  49.          5 : Info for directory set 5
  50.          6 : Info for directory set 6
  51.          7 : Info for directory set 7
  52.          8 : Info for directory set 8
  53.          9 : Info for directory set 9
  54.          U : Info for Unarchiving
  55.          D : Defaults for options
  56.          R : Enter registation code
  57.          Q : Quit Config
  58.  
  59.          0 : Info for directory set 0 - 9
  60.  
  61.             This is what you will see when you enter a digit (0-9)
  62.  
  63.                     Directory set 0
  64.  
  65. Key       Function                                          Current
  66.  
  67. P : Path to directory files:                             C:\BBS
  68. N : Base name of directory files:                        DIR
  69. A : Path and base name of ZIP file:                      C:\BBS\BBSDIR.ZIP
  70. H : Highest numbered file                                199
  71. L : lowest numbered file                                 1
  72. Z : Dir 1 - 9  have leading zero ie    DIR01,DIR02, etc  on
  73. U : Use directory headers                                off
  74. Q : Done with this set
  75.  
  76.  
  77.     P : Path to directory files:
  78.  
  79.     for the path, you enter the full path name where the files are at.
  80.     Including the last backlash '\'. If you have the directories in C:\BBS
  81.     you would enter   C:\BBS\
  82.  
  83.     N : Base name of directory files:
  84.  
  85.     For the name, enter the name of the files without the numbers. if the
  86.     directory names are DIR1, DIR2, etc. You would enter DIR
  87.  
  88.     A : Path and base name of ZIP file:
  89.  
  90.     If you plan to use the auto-unzip feature, you will need to enter the
  91.     full path and file name where the zip file is. If that file is in
  92.     C:\BBS and is named BBSFILES.ZIP you would enter C:\BBSFILES.ZIP
  93.  
  94.     (If you use the unzip feature, you will also have to enter the path
  95.     and name of your unarchiving program. (see U from main menu))
  96.  
  97.     (You will also have to tell Z you want to use the feature by entering U
  98.     in the defaults section.) (see defaults section)
  99.  
  100.     H : Highest numbered file
  101.  
  102.     for the high directory number just enter the highest number of directory
  103.     you have.
  104.  
  105.     L : lowest numbered file
  106.  
  107.     for the low directory number just enter the lowest number of directory
  108.     you have. (usually 1)
  109.  
  110.     Z : Dir 1 - 9  have leading zero ie    DIR01,DIR02, etc
  111.  
  112.     Sometimes the files will be named with leading zeros in the names, like:
  113.     DIR01,DIR02, etc. if they are, turn this on.
  114.  
  115.     U : Use directory headers
  116.  
  117.     some files have the first line identify the subject of that directory
  118.     with a line like this:
  119.     ==========[BBS DIR1 MISCELLANEOUS]===================
  120.     if they do, you may use this feature to show, when a file is opened,
  121.     this line, This will only work if this line has === before the info,
  122.     and ] as the last charachter, as in the example.
  123.     if the program crashes when you try to scan, try turning this off.
  124.  
  125.     Q : Done with this set
  126.  
  127. Return to main config menu.
  128.  
  129. Config allows 10 different sets to be defined in this way. From the main
  130. menu, just enter a digit (0-9) the default set is set 0. when you run
  131. Z to scan for some thing, you may use any or all of these sets. That
  132. will be explained later.
  133.  
  134. U : Info for Unarchiving
  135.  
  136. Use this to enter the path and name of your unarchiving program
  137. if you plan to use the auto-unzip feature.
  138. If the program is PKUNZIP and is in C:\PKWARE, yuo would enter:
  139. C:\PKWARE\PKUNZIP
  140.  
  141. D : Defaults for options
  142.  
  143. There are several options you may want to turn on to use by default
  144. this is what you will see when you enter D.
  145.  
  146.                                        Defaults section
  147.     Key       Function                          Current
  148.     U : Unarchive before scanning?           :   off
  149.     C : Continuous (nonstop) mode?           :   off
  150.     P : Output to printer?                   :   off
  151.     L : 1 line output to printer, file?      :   off
  152.     N : Name scan only?                      :   off
  153.     T : Normal text color?                   :   White
  154.     H : Highlighted text color?              :   Green
  155.     Q : Quit Defaults section
  156.  
  157.     Note: All these defaults (except colors) can be overridden on the
  158.     command line, or in the enter options section in prompt mode
  159.  
  160.     U : Unarchive before scanning?           :   off
  161.  
  162.     This is where you turn on the unarchive feature. when it is turned on,
  163.     Z will try to open the file, and if it fails, it will unarchive it
  164.     (using the info from other sections) and try again.
  165.  
  166.     C : continuous mode
  167.  
  168.     When file descriptions are displayed, normally they will stop every 25
  169.     lines to let you see them. continuous mode turns this off and text
  170.     will scroll continuously (maybe faster than you can read it)
  171.     This can be stopped by hitting any key.
  172.  
  173.     P : Output to printer?                   :   off
  174.  
  175.     when this is on, file descriptions will be sent to your printer as
  176.     well as the screen. (this doesn't support special printer setups
  177.     such as networks, serial printers etc.)
  178.  
  179.     1 : 1 line output to printer, file?      :   off
  180.  
  181.     when this is on, only the first line of file descriptions will be
  182.     printed or sent to a file. (saves ribbon, paper, print heads, etc.)
  183.  
  184.     O : Name only output to file, printer    :   off
  185.  
  186.     When this is turned on, only the file names will be output to the
  187.     printer or file. (When you turn name output on, line output
  188.     will be forced on so it can work properly)
  189.  
  190.     N : Name scan only?                      :   off
  191.  
  192.     When this is on, Z will scan only the file names, not the whole
  193.     description, for the text you entered to search for.
  194.  
  195.     T : Normal text color?                   :   White
  196.  
  197.     when you hit T, you will be given a menu of colors to choose from for
  198.     the color of regular text to be displayed. Choose one you like.
  199.  
  200.     H : Highlighted text color?              :   Green
  201.  
  202.     when Z displays descriptions, it will highlight the text it found in the
  203.     color you choose here. (just like T, above)
  204.  
  205.     Q : Quit Defaults section
  206.  
  207. When you are done entering defaults, hit Q to return to the main menu.
  208.  
  209. R : Enter registation code
  210.  
  211. If you have registered Z, you may enter the code you recieved here.
  212. this will turn of the beg screen at the beginning of the program.
  213. There are no extra features for registered users, I don't believe in
  214. 'crippleware'
  215.  
  216.  
  217. These values will be written to a file Z2.CFG in the current directory.
  218. If you change something you want to add to the configuration, you may
  219. run config by entering Z /CONFIG from the command line. Or, from 
  220. prompt mode, when asked to enter the text to search for, enter /config
  221.  
  222.  
  223.                     Running Z.EXE
  224.  
  225. You will be prompted for the parameters by just entering:
  226.  
  227. Z
  228.  
  229. Or You may enter the parameters on the command line
  230.  
  231. Z DESQVIEW A   Etc. Etc.
  232.  
  233. First parameter:
  234.  
  235. The first parameter is the text to search for, enter what you want to find.
  236. Z will look for that text in the file names, dates, sizes, and descriptions.
  237.  
  238. ANDing and ORing of text:
  239.  
  240. You can look for up to 15 'words' at one time by using the OR
  241. and AND functions.
  242.  
  243.  
  244. GO|HELP    as the text entered will look for 'GO' or 'HELP' at the same time.
  245.          (if you are entering this on the DOS command line, You would
  246.          have to enclose it in quotes  "GO|HELP" or DOS will think "|" 
  247.          is a pipe symbol and do really strange things. (like die)).
  248.          In prompt mode, do NOT use quotes.
  249.  
  250. You can look for file descriptions containing both of two 'words'
  251. using the AND function:
  252.  
  253. GO&HELP    would find only file descritions containing BOTH the words 
  254.          GO and HELP.
  255.  
  256. You may use parentheses to clarify what you want so:
  257.  
  258. (PCBOARD&HELP) | (FORM&FILE)
  259. Would work fine and search for descriptions containing both PCBOARD
  260. and HELP, or both FILE and FORM.
  261.  
  262. spaces may be used to make things more readable, BUT if they are next to
  263. text, they will be considered part of the text. This can be useful.
  264. If you were looking for a tax program by searching for TAX , and
  265. kept seeing files with synTAX in them, you could search for ( TAX )
  266. this would look for TAX with a space before and after, eliminating
  267. the word synTAX. (this exact situation actually came in handy for me)
  268.  
  269. Spaces between ),&,|,( will be ignored. two spaces there will cause
  270. a problem, don't do that.
  271.  
  272. For every ( , there must be a ) , and vice versa.
  273.  
  274. Second parameter:
  275.  
  276. The second parameter is the directories to search. you may enter a directory
  277. number. example:     
  278.  
  279. 56          will search directory 56 only
  280.  
  281. A           will search all directories to the highest number as you 
  282.               entered in config.  
  283.  
  284. OR, I went one better than PCBoard, you can enter a range of numbers.
  285.  
  286. 23-156      will search directories 23 thru 156.
  287.                  (no spaces, as shown)
  288.  
  289. All these examples will work on set 0 by default. here is how you use
  290. the other sets:
  291.  
  292. The @ symbol will select another set like this:
  293.  
  294. 1-10@3      would scan dirs. 1 thru 10 of set 3
  295.  
  296. A@2         would scan all dirs. of set 2
  297.  
  298. A@A         would scan all dirs of all sets which have been configured.
  299.  
  300. Multiple commands can be strung together with commas , between them:
  301.  
  302. 1-2@A,36,43@2   would scan dirs. 1 and 2 of all sets, dir 36 of set 0,
  303.                 and dir 43 of set 2.
  304.  
  305. There is a limit of 10 commands.
  306.  
  307. Options use:
  308. This is what you will see in the enter options section:
  309.  
  310.         letter   function                          current   parameter
  311.           C      Continuous (non stop) mode        :  off
  312.           U      Case sensitive search             :  off
  313.           A      Newer files only                  :  off   01-01-80
  314.           B      Older files only                  :  off   12-31-99
  315.           S      Smaller files only                :  off   99999999
  316.           L      Larger files only                 :  off   0
  317.           P      Printer Output                    :  off
  318.           F      File Output                       :  off   ZSCAN.TXT
  319.           N      Name scan only                    :  off
  320.           1      One line output to file, printer  :  off
  321.           O      Name only output to file, printer :  off
  322.                   (line output will be turned on)
  323.           Q      Quit options
  324.  
  325.  
  326. C :  displays text without stopping to allow you to catch up.
  327.  
  328. From command line, use   NS
  329.  
  330. U :  When searching, Will match upper and lowercase to the text you entered.
  331.  
  332. From command line, use   CS
  333.  
  334. A :  search for newer files. you will be prompted for the date you
  335.      want files to be newer than.
  336.  
  337. From command line, use   N (date) that is, if you wanted files to be newer
  338. than 01-01-92, you would enter something like this:
  339. Z FILE 1 D 1-1-92
  340. You may use a / or a - to separate month, day, year. leading zeros are
  341. optional.
  342.  
  343. B :  search for older files. similar to above.
  344.  
  345. From command line, use   O (date)
  346.  
  347. A :  search for smaller files. you will be prompted for the size you
  348.      want files to be smaller than.
  349.  
  350. From command line, use   S (size)
  351.  
  352. A :  search for larger files. you will be prompted for the size you
  353.      want files to be larger than.
  354.  
  355. From command line, use   B (size)
  356.  
  357. P :  outputs to printer as well as screen.
  358.  
  359. From command line, use   P
  360.  
  361. F :  outputs to (filename) as well as screen. You will be prompted for
  362.      the file name to output to.
  363.  
  364. From command line, use   F (filename)
  365.  
  366. N :  scans the names of files only, rather than the whole description.
  367.  
  368. From command line, use   NAME
  369.  
  370. 1 :  when output to file or printer is selected, this will only
  371.      output the first line of the description, rather than all of them.
  372.  
  373. From command line, use   1
  374.  
  375. O :  Similar to 1, above but will output the filenames only, not the
  376.      whole first line.
  377.  
  378. From command line, use   NO
  379.  
  380. Squeezing your files:
  381.  
  382. I reccomend that you use the 'squeeze' feature to compress your files
  383. before using Z on them. It will save disk space, and Z will run
  384. faster.
  385. All Squeeze does is take files of the following format:
  386.  
  387. FILENAME.ZIP   10000   01-01-91   | Description................
  388.                             | More Description..........
  389.                             | More Description..........
  390.  
  391. And remove all those spaces before the 'more description' lines.
  392. making them like this:
  393.  
  394. FILENAME.ZIP   10000   01-01-91   | Description................
  395. | More Description..........
  396. | More Description..........
  397.  
  398. The command to Squeeze files is: 
  399. /SQZ 
  400.  
  401. entered as the text to search for,
  402. or as the first parameter on the command line. In either case, you 
  403. will need to enter the directories to squeeze, just as you would enter
  404. the directories to search.
  405. The original filenames must not have an extension. Files named like:
  406. DIR.23 , DIR32.LST , etc. can't be converted, Sorry.
  407. The squeezed files will have the extension  .SQZ ,  Z will not be able
  408. to use the files with that name, so, after each set, you will be asked 
  409. whether you want to delete the originals, and rename the squeezed files 
  410. to the original names. Go ahead and do this now.
  411.  
  412. Z will run fine whether you squeeze the files or not, but as I said before,
  413. It will run about 20% faster, and the files will be about 30%
  414. smaller if they are squeezed. DO NOT use the squeeze on anything but 
  415. directory files. loss of data may occur.
  416. You should keep a backup copy of the unsqueezed files just in case, 
  417. though there is also an unsqueeze feature which will TRY to put the 
  418. files back to their original state. This will not always be perfect,
  419. but Z will still be able to use them, and they will still be readable
  420. with your favorite text editor.
  421. The command to unsqueeze files is:
  422. /USQZ
  423.  
  424. This works in similar fashion to the aforementioned squeeze command
  425.  
  426. Well that's it, enjoy.
  427.