home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / WIZ28.ZIP / WIZ.DOC < prev    next >
Text File  |  1993-10-31  |  33KB  |  907 lines

  1.  
  2.                 WIZ version 2.8
  3.                by Ray Van Tassle
  4.                1020 Fox Run Lane
  5.              Algonquin, Ill, 60102
  6.                 (708)-658-4941
  7.                   Oct 20, 1993
  8.  
  9.     WIZ program and manual copyright(c) 1990-1993 by Ray Van Tassle.
  10.  
  11.     Abstract:
  12.     WIZ is a lightning-fast file finder. It will find file(s)
  13.     based on full wildcard specifications (more powerful than
  14.     standard DOS wildcard), and can also filter by file size
  15.     and date.  It can:
  16.        * select only executable files (EXE, COM, BAT).
  17.        * select only archive files (ZIP, ARC, etc.)
  18.        * switch you to the disk\directory of a file that it found.
  19.        * execute a DOS command for each file it finds.
  20.        * look inside archives (ZIP, LZH, & ARJ)
  21.        * recursively look inside archives!
  22.        * Correct handling of the special files/directories created and
  23.          maintained by STACKER, DoubleDisk, DoubleSpace,
  24.          Norton FILESAVE, and PCTOOLS DATA Sentry.
  25.  
  26.     It will look on multiple disk drives for all matching
  27.     filenames.  You can pre-specify several default lists of
  28.     disk drives for it to search.
  29.  
  30.  
  31.     WIZ program and manual copyright(c) 1990-1993 by Ray Van Tassle.
  32.  
  33.     WIZ is shareware, NOT freeware!!!
  34.  
  35.     You are granted a limited 21 day evaluation license. At the end
  36.     of that period, you should either delete it and stop using it,
  37.     or send in the registration fee of $20 ($15 if you don't want me to
  38.     send you a disk).
  39.  
  40.  
  41.  
  42.     MANUAL
  43.     ------
  44.     I was tempted to call this program YAFF (yet another file
  45.     finder), but I settled on WIZ.  This is a funny acronym for
  46.     "where is". But it's also short for WIZARD, because it's so
  47.     fast it seems like magic, and it's filename matching is so
  48.     powerful.
  49.  
  50.     It looks on one or more disks for all filenames (including
  51.     directories) that match the specified filename. By default, it
  52.     starts on drive C, and goes up until it runs out of disks.
  53.  
  54.     It has been tested, and works, with DOS 3.x, including Zenith
  55.     DOS 3.30, DOS 3.31, DOS 4.01, DOS 5.0, and On-Track
  56.     partitioning software.  DOS 3.31, 4.01, and 5.0 have large
  57.     (greater than 32MB) partitions with more than 65,536 sectors.
  58.     Zenith DOS 3.30 and On-Track have large partitions by virtue of
  59.     using large sectors (1024, 2048, or 4096 bytes, rather than
  60.     512 bytes).
  61.  
  62.     WIZ normally prints out, for each matching file, the filename,
  63.     date, time, size, and path.  The files are NOT ordered or
  64.     sorted.  All "special" files (hidden, system) are
  65.     flagged with a left-pointing triangle after the filename.
  66.     Optionally, it will list the files in normal fully-pathed form
  67.     (e.g., C:\UTIL\PGMS\ABC.BAT), suitable for processing by a
  68.     program which expects normal filenames.  When the found file
  69.     is inside an archive (-l flag), it will be listed in a form
  70.     suitable for the archiver (e.g.,
  71.     "C:\UTIL\PGMS\FOO.ZIP FILE.EXE")
  72.  
  73.     I deemed that most of the time, people (including me) want it
  74.     to be FAST, rather than in some particular order.
  75.     As WIZ reads the disk, it tries to optimize the head
  76.     motion, so directories are not processed in order of path, but
  77.     in the order that WIZ thinks will be quickest.  However, it will
  78.     generally look at the files in a directory before it looks at
  79.     the sub-directories.  However (especially if you have
  80.     directories with lots of files and sub-directories), it may
  81.     show some files in a directory, then show sub-directories, then
  82.     show more files in the directory.
  83.  
  84.     WIZ will ignore STACKER (tm) container files in the count of
  85.     files & MB's scanned.  STACKER is a disk expander utility
  86.     that keeps a compressed pseudo-disk in a container file.
  87.     This file has attributes of RHS, and is named "STACVOL.???".
  88.     
  89.     Likewise, WIZ will ignore the special hidden directories where
  90.     Norton's "FILESAVE" and PCTOOLS "DATAMON/SENTRY" move files that
  91.     have been deleted.  These tools & their directories are a super
  92.     undelete, and they are reported by DOS to have been deleted, but
  93.     the respective utilities really just have them tucked away in a
  94.     hidden place.  So WIZ treats these files as not being there, too.
  95.     
  96.  
  97.  
  98.     PERFORMANCE & Comparison with other file-find programs
  99.     ------------------------------------------------------
  100.     Some tests, run on a 10MHZ AT, searching for a non-existent
  101.     file on a large disk partitioned into drives C thru K,
  102.     8002 total files, 184MB in files, in 436 directories.
  103.  
  104.     Search        WIZ         WHEREIS        Norton FF
  105.     string        V2.3        V4.0        V4.5
  106.     --------       ----------      -----------     ------------
  107.     zzz.zzz        0:13        1:32        1:42
  108.     *.zzz        0:15        2:00 (*)        1:51
  109.     *.*zz        0:17        2:00        can't
  110.     *.zz*        0:15        2:01        1:51
  111.  
  112.                 (*) file_specifier was `*.* "?.zzz" '
  113.  
  114.     Looking inside archives (ZIP & LZH):
  115.                      WIZ        SST 5.2a
  116.                     -------            --------
  117.     24 archives, ?? files         0:13         0:18
  118.     418 archives. 4700 files     3:02         4:02
  119.  
  120.  
  121.     (Note: SST v5.2 is the new name for WHEREIS v5.2)
  122.  
  123.     WHEREIS V4.0 (and some others) can look within more types
  124.     of ARC, ZIP, etc. files than WIZ handles.  But WIZ is
  125.     much faster than any other file-finder (including Norton's),
  126.     and it's wildcard ability is much more powerful than most,
  127.     and easier to use than most others that are equally powerful.
  128.     And anyway, ZIP and ARJ have pretty much taken over the
  129.     archiver market--you only see the others on really old files.
  130.  
  131.     WIZ is also much smaller than these other programs.
  132.     Norton FF v4.5 is 9K,  WHEREIS v4.0 is 22K,  WIZv2.0 is 10K
  133.     SSTv5.2a is 44K.
  134.  
  135.  
  136.     ERRORLEVEL exit codes
  137.     ---------------------
  138.     0 = Normal exit.
  139.     1 = Normal exit. -g changes disk/path
  140.     2 = Bad command line.
  141.     255 = Internal error.
  142.  
  143.  
  144.     Error Messages
  145.     --------------
  146.     "INVALID directory:"
  147.         Encountered what appears to be an illegal directory
  148.         entry.  This is a clue for a corrupted disk, or a file
  149.         which is NOT a directory masquerading as one.
  150.  
  151.         "Can't tell if FAT-12 or FAT-16. Assuming FAT-16!"
  152.         Just what it says.  I've only seen this on networked
  153.         disk drives.  If you know how to RELIABLY tell what
  154.         type of FAT a disk has (other than going thru DOS),
  155.         please let me know.
  156.  
  157.     "malloc failed for FAT_buf!"
  158.         Can't allocate memory to read a FAT block.  Most
  159.         likely an internal error.
  160.  
  161.      "malloc failed for dir_sec_buf!"
  162.         Can't allocate memory to read in a directory sector.
  163.         Most likely an internal error.
  164.  
  165.     "Sorry, out of memory!!!"
  166.         You lose.
  167.  
  168.     "Can't open file:"
  169.         Failure to open an archive file.  Most likely a disk
  170.         error. Run CHKDSK.
  171.  
  172.     "Internal error in ZIP/LZH/ARJ file"
  173.         The data read from in archive file isn't as expected.
  174.         Most likely the archive has a new format, and WIZ
  175.         hasn't yet been updated.  'Course, the archive file
  176.         may be corrupted.
  177.  
  178.     "INVALID directory"
  179.         A sub-directory (whose name is displayed) is not valid.
  180.         Your directory structure has been corrupted.  You should
  181.         run a utility to fix it--Norton NDD or PC-TOOLS DISKFIX.
  182.  
  183.     NETWORK DRIVES
  184.     --------------
  185.     WIZ has been tested, and runs ok under several networks: 
  186.     Pathworks (Digital Equipment Corp), $25Network (Information Modes),
  187.     EBOX (Rupp).
  188.     Version 2.7 works on Novell, Lantastic, and other networks.
  189.  
  190.     CD-ROMS
  191.     -------
  192.     The is still no standard for CD-ROM drives.  However, WIZ might
  193.     work on them, if they look enough like a networked drive.  I don't
  194.     have access to a CD-ROM, so I don't know for sure.
  195.  
  196.     BUGS
  197.     ----
  198.     No known bugs.  However, WIZ mostly does not use DOS to
  199.     process a disk, so errors on my part, or a change in the disk
  200.     structure might break it.  The most major bug reported was on
  201.     huge disk partitions under MS-DOS 4.01.  This bug caused WIZ
  202.     to read a random block from the disk, and treat it as a
  203.     directory.  It made a valiant attempt to march down all the
  204.     phony sub-directories, and would actually run for quite a
  205.     while before printing one of the "malloc failure" messages.
  206.  
  207.     If you are having problems, try 1) use the "-v" switch, to
  208.     isolate the error to a specific disk,  2) use "-vv", to see
  209.     as it hits each sub-directory,  3) use "*.*" to see all the
  210.     files, and watch until it walks off the edge of the world.
  211.     Then call or write me.
  212.  
  213.  
  214.     Command Line format and Switches
  215.     --------------------------------
  216.  
  217.     WIZ [disks:]file_pattern [-sN] [-dN] [-p] [-pp] [-gN] [-x] [-mN] 
  218.         [-e] [-qS] [-n]
  219.         [-a] [-v] [-l[b][l]]  [-cS] [-?] [>output-file-name]
  220.  
  221.     As usual, the stuff inside the square brackets "[]" are
  222.     optional and may be present or omitted. You do NOT include
  223.     the brackets in your command line.
  224.     The various fields and options may appear in any order, in
  225.     either upper or lower case.
  226.     The switch character can be either "-" or "/".
  227.  
  228.     You can have more than one set of "[disk:]pattern", and it
  229.     does the correct thing. That is, it scans each set in turn.
  230.     So you can say: "WIZ c:pyro* cd:*.cfg *.ovr".
  231.  
  232.     Except for size (-s) and date (-d), the options may be run
  233.     together.
  234.     For example: "WIZ -g20xp"   is the same as  "WIZ -g20 -x -p".
  235.  
  236.  
  237.  
  238.     If you just invoke WIZ without any parameters, it gives you a
  239.     brief help line.  For more info, include '-?'.  For even more,
  240.     include '-??'.
  241.  
  242.     If you leave out a pattern, but do have switche(s), WIZ assumes
  243.     that you want a pattern of "*".
  244.  
  245.     Disk(s): & filename_pattern
  246.     ---------------------------
  247.     1) [disks:]pattern
  248.     2) pattern
  249.     3) :pattern
  250.  
  251.     With format 1, you specify the disk(s) you want it to look at,
  252.     followed by ":".  It will look at those drives, in the order
  253.     you listed them.  If you list the same one twice, it will look
  254.     at it twice.  You can specify a range of disks by using a
  255.     dash--"C-F" is the same as "CDEF".
  256.  
  257.     With format 2, it will look at all drives beginning with C. It
  258.     will stop when it hits a drive that it cannot read.
  259.  
  260.     With format 3, it will look at all drives beginning with A. It
  261.     will stop when it hits a drive that it cannot read, except A &
  262.     B.  If the floppy drive has a disk in, it will look at it,
  263.     otherwise it will ignore the floppy drive.
  264.  
  265.     If you have only one floppy drive, WIZ will check to see if DOS
  266.     last used it as A or B, and will skip the other drive letter
  267.     (B or A).
  268.  
  269.     You do not (and cannot) specify path or directory names,
  270.     because WIZ searches an entire disk.
  271.  
  272.  
  273.     Processing Disk(s) and Environment Variable
  274.     -------------------------------------------
  275.     You can over-ride the disks that WIZ looks at, and their
  276.     order, by making an environment variable "WIZ".  Do:
  277.     "SET WIZ=floppy-disk-list:hard-disk-list". Example:
  278.     "SET WIZ=AB:C-M".  What actually happens is that WIZ will
  279.     try to read all the disks to the left of the colon, then all
  280.     those to the right of the colon.  Those on the left are
  281.     deemed to be floppies, and it will keep going if it can't
  282.     read one.  Those on the right are deemed to be hard drives,
  283.     and it will quit on the first one that it can't read.
  284.     
  285.     You may omit the "default" disk set by leaving a space after
  286.     the "=".  This is most useful when you need only to put the
  287.     "/M" switch, as: "SET WIZ= /M".
  288.     
  289.     
  290.     If you specify disks on the command line, it will try to read
  291.     them all, even if it can't read one.
  292.  
  293.     The list may be discontiguous, (e.g., "C-FL-M").  This is
  294.     mostly useful if you are on a network, which tends to make
  295.     the networked disks at the higher letters, and leaves a hole
  296.     before them.
  297.  
  298.  
  299.     Pre-defined Drive Sets
  300.     ----------------------
  301.     You can actually have several pre-defined sets of disks to
  302.     search. If the disk-specifier on the command line is a single
  303.     digit (0-9), it will look for that specifier in the WIZ
  304.     variable.  For example, you might say:
  305.         "SET WIZ=AB:C-F  1=CDEF 2=AB:  3=C-Z 4=C-Z:"
  306.  
  307.     As above, those to the left of the colon are deemed floppies,
  308.     and WIZ will keep going if it can't read one; those to the
  309.     right are hard drives, and WIZ will quit if it can't read one.
  310.     However, if there isn't a colon, then they are ALL deemed to
  311.     be hard drives.
  312.  
  313.     The command "WIZ z.z", will look on ABCDEF.
  314.     The command "WIZ 1:z.z", will look on CDEF.
  315.     The command "WIZ 2:z.z", will look on AB.
  316.     The command "WIZ 3:z.z", will look on all drives C-Z (and
  317.         will quit at the first on that it can't read).
  318.     The command "WIZ 4:z.z", will look on all drives C-Z (and it
  319.         will attempt to read each and every one of them).
  320.     The command "WIZ 9:z.z", will give an error message.
  321.  
  322.  
  323.  
  324.  
  325.  
  326.     PATTERN:
  327.     --------
  328.     I call it "pattern" rather than "filename", because WIZ
  329.     does a full pattern-match against the actual filenames it
  330.     reads from the disk.  The pattern has three special characters
  331.     (called meta-characters), plus all the other characters
  332.     possible in a filename.
  333.  
  334.     1)  "*" (star)
  335.     2)  "?" (question mark)
  336.     3)  "." (dot),
  337.  
  338.     1) "*"    This is the "rubber" wildcard meta-character.  The
  339.         star will match as many characters as possible, from
  340.         none to the entire filename.  It is "rubber", because
  341.         it will shrink & stretch to match as many characters
  342.         as required.
  343.  
  344.     2) "?"    This is the "single" wildcard meta-character.  It will
  345.         match exactly ONE character in the filename.
  346.  
  347.     3) "."  This is the "separator" meta-character (it is NOT a
  348.         wildcard character).
  349.         If you specify a dot in the pattern, the disk filename
  350.         (and the pattern) is treated as having two parts,
  351.         one before the dot, and one after the dot.
  352.         Each part undergoes it's own pattern matching.
  353.  
  354.     If you don't have any meta-characters in the filename pattern,
  355.     WIZ appends a "*" on the end of what you specified.
  356.  
  357.     Proper pattern matching (like WIZ does) is almost a D.W.I.M.
  358.     (do what I mean) operation.  DOS's wildcards are so primitive
  359.     that it is professionally embarrassing.  Not only that, but the
  360.     pattern-matching subroutine in WIZ is only a couple of dozen
  361.     lines of code.  And it's surprisingly fast.
  362.  
  363.     To give some examples:
  364.     *A*     means:
  365.         any file which has an A anywhere in it, on either side
  366.         of the dot.
  367.  
  368.     Z*    Any file that starts with a Z
  369.         (ZZBC.BAT    Z.Z)
  370.  
  371.     ?.    Any filename that has exactly one character in it, and
  372.         has no extent.  (A.   B.   but not    AB.   or A.BAT)
  373.  
  374.     ?*      Any filename that isn't totally blank.
  375.  
  376.     A*T    any file that starts with A and ends with T in the
  377.         extent. (ABCDE.BAT     A.T    AB.ERT but not ABCERT.)
  378.  
  379.     A*T.    any file that starts with A and ends with T, and
  380.         has no extent. (ABCERT.      but not ABCERT.RST)
  381.  
  382.     A*T.*    any file that starts with A and ends with T, whether or
  383.         not it has an extent.
  384.         (ABCERT.    ABCERT.RST    ABCDET.COM)
  385.  
  386.     A*B*Z.* any file that starts with A then somewhere to the right
  387.         has a B, then ends with Z, and has any extent.
  388.         (ABZ.BAT    AMNOBPQRZ.   ABYXZ.COM)
  389.  
  390.     *.C    any file with an extent of C
  391.  
  392.     W*.C    any file that starts with W and has a C extent. (W.C
  393.         WIZ.C  WIZ14.C)
  394.  
  395.     W*4.C    any file that starts with W, ends with 4, and has an
  396.         extent of C.
  397.  
  398.     ???.C    any file that has exactly 3 characters in the name, and
  399.         an extent of C.
  400.  
  401.     Directories also participate in the filename matching.  A lot
  402.     of other whereis programs don't tell you about directory names
  403.     that match.  I find this annoying, because many times I can
  404.     remember the directory name (or at least part of it), but not
  405.     the file names.  This is especially true for things that I
  406.     have downloaded.  Since directories normally don't have an
  407.     extent (although they can), for matching purposes a directory
  408.     that does not have an extent is treated as if it has a blank
  409.     extent, so it has a dot.  But when it is printed out, this
  410.     implied dot isn't printed.
  411.  
  412.     POPDROP.  will match the directory name "POPDROP"
  413.           and the filename "POPDROP.", but not "POPDROP.COM"
  414.  
  415.     POPDROP.* will match all of the above
  416.  
  417.     POPDROP   will match all of the above, but also POPDROP2.COM
  418.           etc.
  419.  
  420.  
  421.  
  422.  
  423.     -s Size qualifier
  424.     -----------------
  425.     Files may be further filtered by their size. Either or both
  426.     minimum and maximum size may be specified. A file will match
  427.     only if it's size falls between the two limits, inclusive.
  428.     Note that a directory, while it is really a file, is not
  429.     considered to have a size, so directories will NEVER show up
  430.     if you give a size qualifier. This gives a way to never show
  431.     directories: just add "-s0".  All other files have a size
  432.     that is greater than or equal to zero.
  433.  
  434.     -s[low_limit][:hi_limit]
  435.  
  436.     -s100        Files that are 100 or more bytes large.
  437.  
  438.     -s:10000    Files that are 10000 or less bytes large.
  439.  
  440.     -s500:600    Files whose size is greater than or equal to
  441.             500 bytes, and less than or equal to 600 bytes.
  442.  
  443.     -s1000:1000    Files that are exactly 1000 bytes large.
  444.  
  445.  
  446.  
  447.     -d Date qualifier
  448.     -----------------
  449.     Files may also be filtered by date.  Either or both
  450.     lowest & highest date may be specified. A file will match
  451.     only if it's date falls between the two limits, inclusive.
  452.  
  453.     -d[low_date][:high_date]
  454.  
  455.     The format for date is MM/DD/YY or MM-DD-YY or "*" or "*-N".
  456.     The year can be given as either "91" or "1991".  
  457.     "*" means the current date.
  458.     "*-N" means "N" days before the current date.
  459.     
  460.     -d1/1/90    Files dated on or after Jan 1, 1990.
  461.  
  462.     -d:12-31-87    Files dated on or before Dec 31, 1987.
  463.  
  464.     -d1-1-90:12-31-1990  Files dated anytime in 1990.
  465.  
  466.     -d12/12/90:11/11/90  No files---it's impossible for a file to
  467.             be dated after Dec 12, 1990 and before
  468.             Nov 11, 1990 (inclusive)
  469.     -d*        Files dated today or after today.
  470.     -d:*        Files dated before today.
  471.     -d*:*        Files dated today only.
  472.     -d*-10        Files dated within the last 10 days.
  473.     -d*-365        Files dated within the last year (365 days).
  474.     
  475.  
  476.     -e    Extended precision in time display
  477.     ----------------------------------------
  478.     Displays seconds also in the date/time information.
  479.  
  480.     -n    Skip over network drives
  481.     ------------------------------
  482.     Many network drives can only be accessed in the "proper" way.
  483.     This slows down WIZ quite a bit.  This option will force WIZ to
  484.     omit any drive that it figures requires this slow access method.
  485.     Novell and Lantastic are two networks that will be slow.  
  486.     Little-Big-Lan (by Information Modes) is a great little lan that
  487.     allows WIZ to use it's fast access method.
  488.  
  489.     -p    List in canonical pathname format
  490.     ---------------------------------------
  491.     The matching files are listed in normal DOS format:
  492.         disk:\path\name.ext
  493.     If the "-l" flag ("look inside archives") is given,
  494.     the format is:
  495.         disk\path\archive-name.zip filename.ext
  496.  
  497.     Date, time, size are not given.  This type of list
  498.     is presumably going to be fed into a program as a
  499.     list of files, so directories will not be listed.
  500.     
  501.     -pp   List in pathname format, without header/trailer
  502.     -----------------------------------------------------
  503.     Same as "-p", except the header and trailer information
  504.     is omitted.  This is particularly useful when the output
  505.     is to be fed into another program, as a list of (only) matching
  506.     filenames.
  507.     
  508.     -q     Limit scan to certain path(s)
  509.     ------------------------------------
  510.     This will allow you to limit the search to certain directory
  511.     name(s).  The format is:
  512.             -qDIRECTORY-NAME
  513.       
  514.     If it starts with "\", then this is the path from the root.
  515.     If it doesn't, then this is the trailing part of the path.
  516.     If it ends with "\", then this is for all the subdirectories, too.
  517.     If it doesn't, then this is for only this directory, 
  518.     not any sub-directories.
  519.        
  520.     -qdos         Will scan files in "\dos",  "\abc\dos", but not 
  521.              "\abc\dos\xyz".
  522.     -q\dos         Will scan files in "\dos", but not "\abc\dos".
  523.     -q\abc\dos   Will scan files in "\abc\dos", but not "\dos".
  524.     -qdos\         Will scan files in "\dos", "\dos\abc", and 
  525.              "\abc\dos\xyz".
  526.     -qray\van    Will scan files in "\dos\ray\van", but not
  527.              "\dos\ray\xyz" or "\dos\ray\van\tmp".
  528.     -q\         Will scan only the root directory.
  529.  
  530.     
  531.     -g     Go to directory
  532.     ----------------------
  533.     This will change your path to the disk & directory of the
  534.     Nth file in the list of files that matched.  If you omit
  535.     N (or N is zero), it will ask you at each match if that is
  536.     where you want to go.
  537.  
  538.     If that file is a directory, WIZ will set the path to that
  539.     directory.  On the other hand, if it is a file, WIZ will set
  540.     the path to be the directory that the file is in.
  541.  
  542.     Obviously, if N is larger than the number of files that match,
  543.     nothing will happen.
  544.  
  545.     -g5    Will change to the path of the 5th listed file.
  546.     -g1    Will change to the path of the first listed file.
  547.     -g    Will ask you at each matched file if it should change
  548.         to the path of the listed file.
  549.  
  550.  
  551.     -x    Executable files
  552.     ----------------------
  553.     This switch will set a pre-filter, and select only executable
  554.     files (.BAT, .COM, .EXE) that pass the other filters (size,
  555.     date, pattern).  For this to work properly, the pattern should
  556.     either not have a dot, or terminate with ".*" (because this is
  557.     just an additional filter, albeit one with three holes).
  558.  
  559.     I added this because a lot of times I find myself looking for
  560.     a handy but seldom-used program, and I can never remember if
  561.     it's a COM or an EXE file.  And if I put "*FOO*.*", WIZ lists
  562.     everything, including the directory, DOC, README, etc.
  563.  
  564.  
  565.     -m    More (pause)
  566.     ------------------
  567.     Act like "MORE"--pause and wait for a key to be hit after each
  568.     screenful of lines have been displayed.  It checks how many
  569.     lines are actually displayed on the screen (25, 28, 43, 50, etc.)
  570.     You can give a number after the "m", and it will use that size
  571.     instead.
  572.  
  573.  
  574.     -a    Archive files
  575.     -------------------
  576.     This works just like "-x", except it's for archive files.
  577.     These are ZIP, ARC, LZH, ZOO, ARJ, PAK.
  578.  
  579.  
  580.     -v    Verbose
  581.     -------------
  582.     If you have this flag once, WIZ will print the disk name when
  583.     it starts as it starts on a disk.  If you have it twice
  584.     (-vv), it will also print the name of each directory as it
  585.     starts processing it.  This is mostly useful for trouble
  586.     shooting, or to see a progress indication.
  587.  
  588.  
  589.     -l    Look inside archives
  590.     --------------------------
  591.     This switch will make it look inside archives (ZIP, LZH, and
  592.     ARJ archives only), for a matching filespec.  Note that all
  593.     the filters apply to the file INSIDE the archive, and NOT to
  594.     the archive itself.  The disk list will, however, still
  595.     specify the disks to look at.
  596.  
  597.     Both PKZIP and ARJ come with information on the internal
  598.     format of their archive files, including the header.  Neither
  599.     LHARC nor LHA do, but it was pretty easy for me to figure
  600.     out.  I do ZIP's because that is currently the most common
  601.     type of archive.  LHA compresses smaller, but lacks a few
  602.     features, and is slower in compressing.  ARJ is the BEST.  It
  603.     packs 5% - 10% tighter than ZIP (but is slower in
  604.     compressing), and includes all the nice features of ZIP,
  605.     including encryption, comments, etc, and also can
  606.     automagically create a segmented archive, so you can put a
  607.     huge archive onto several floppy disks, without having to use
  608.     SLICE/SPLICE.  It also comes with a handy utility to convert
  609.     any other archive type to ARJ's.  I didn't do any other
  610.     archivers, because 1) I don't have information on the
  611.     internal format, 2) these three are the most common, and
  612.     best, and 3) I don't want WIZ to get any larger than
  613.     necessary.
  614.  
  615.     -ll    Look inside archives recursively
  616.     ---------------------------------------
  617.     This switch will tell WIZ that you want it to also look
  618.     inside archives that are themselves in an archive.  Naturally,
  619.     WIZ can only do this if the inside archive is "stored" (no
  620.     compression).  With ZIP (and LHA) this is no problem, as PKZIP
  621.     normally cannot and will not compress a ZIP file when you
  622.     include it in another ZIP file.  (Ditto for LHA).  However, ARJ
  623.     can (and WILL) compress a ZIP file as it adds it to an ARJ file!!
  624.     'Course, it's pretty kinky to recursively store ZIPs in an
  625.     ARJ.  You normally would not mix them this way.  To see how
  626.     this works, do "WIZ -ll call_wiz*.*".  This will show you the
  627.     various CALL_WIZ files that are in the WIZnn.ZIP, in
  628.     CALL_WIZ.ZIP.
  629.  
  630.     In the output, these show up with a "@" where you would
  631.     normally see "\", which indicates that it's "kind of like" a
  632.     path.  If this pseudo-pathname gets too long, a "+" is tacked
  633.     on at the end, instead of the actual filename; one for each
  634.     level that is being omitted.
  635.  
  636.     You can also use the "-c" switch, but the filename that
  637.     replaces the "*" in the command won't make any kind of sense
  638.     to DOS, ARJ, LHA ZIP, etc., because of the "@" characters.
  639.  
  640.     -b    Both
  641.     ------------
  642.     This switch is used with "-l" to look both at normal files,
  643.     and inside archives.
  644.  
  645.  
  646.  
  647.     -c    Execute a command
  648.     -------------------------
  649.     This lets you execute a DOS command for each matching file.
  650.     The format is '-cCOMMAND' or '-c COMMAND'. However, if the
  651.     COMMAND has any special characters (space, |, <, >, etc.) you
  652.     must enclose it in quotes: '-c"COMMAND"'.
  653.  
  654.     Each occurance (if any) of the character "*" in the command is
  655.     replaced by the complete file-name (including disk and path).
  656.  
  657.     WIZ will spawn a new copy of the command-line shell
  658.     (COMMAND.COM, 4DOS, etc.), and pass it the built command. The
  659.     one exception is that the command "del*" or "del *" (to
  660.     delete the file) is handled internally by WIZ itself.  (Note
  661.     that you can use the form: '-cdel*', and you do not need a
  662.     space before the '*', nor do you need to enclose the command
  663.     in quotes.)  For this command, WIZ will prompt you to confirm
  664.     each file to be deleted.  (I did this because deleting files
  665.     is a handy thing to do, and it's quicker to do it inside of
  666.     WIZ than to spawn a shell to do it.  But I'm no fool!! You
  667.     have to confirm that you want delete, for each file.  No
  668.     way am I going to let it merrily delete every file on my
  669.     disk(s) just because I make one little mistake on the command
  670.     line!!)   If you prefer to have the shell handle the file
  671.     deletions, use "erase *" or "delete *".
  672.  
  673.     You can't do "-cdel*" along with "-l".  If you have given the
  674.     -l switch, the '*" is replaced with the complete filename of
  675.     the archive (.ZIP, .LZH, .ARJ), a space, and then the
  676.     filename.
  677.  
  678.     Examples:
  679.         -c"type *"    -- type each matching file
  680.         -c"more <*"    -- ditto, with a pause for each page
  681.         -c"copy * a:\"    -- copy each matching file to A:
  682.         -c"set"        -- display the environment at each
  683.                    matching file.
  684.         -c"pkunzip *"    -- extract matching files from a ZIP
  685.                    archive.
  686.  
  687.  
  688.  
  689.  
  690.  
  691.     Coming Attractions
  692.     ------------------
  693.     An interactive screen interface.
  694.     It will gather the file names instead of just printing them
  695.     out.  Then you will be able to sort by name, extent, disk,
  696.     date, size.  You'll also be able to tag files and delete, copy,
  697.     move them, and find duplicates.
  698.     Plus other things I think of, or get suggested.
  699.  
  700.     This is shareware, so I'm probably more interested and 
  701.     receptive in hearing comments and suggestions than a commercial 
  702.     software publisher would be.  Just send them in, or give me a 
  703.     call.  I can't promise to fix bugs, or add specific features, 
  704.     but I'll listen to everything.  Even if you're cheap and 
  705.     haven't registered.
  706.  
  707.     
  708.     BBS Support & New Versions
  709.     --------------------------
  710.     There is no "official" support BBS.  However, I frequent a couple
  711.     of local BBS's:
  712.         Chicken Coop       (708)658-1545   RIMENET =>THECOOP
  713.         Emporium           (708)551-4275   Fidonet 1:155/551
  714.         Rainbow Draggin'  (708)854-1696      In my basement
  715.         
  716.     Update History
  717.     --------------
  718.  
  719.     1.6
  720.     Initial public release
  721.  
  722.     1.7
  723.     Bug fixes
  724.  
  725.     1.8
  726.     Changed "-g" operation. Quit as soon as we hit the correct
  727.     one.  Sound an alarm bell when we set disk/directory.
  728.  
  729.     1.81 (not released)
  730.     * Fix for huge disks. I tested with 100+ MB disk, but failed
  731.     to test with a nearly full disk. Result=BUG!! -- (overflow in
  732.     intermediate calculation, converting cluster to sector
  733.     number.)  Thanks, Eddie, for running DOS 4.01 with one huge
  734.     >32MB partition--which all the gurus recommend against!
  735.  
  736.     1.9
  737.     * Fixed bug in handling full root directory.
  738.     * Changes in walking the directory tree.  Made it
  739.       non-recursive; changed the way I collect pathname to print.
  740.     * Added -c switch.
  741.     * Fix bug in handling a sub-directory that is exactly and
  742.       evenly full, with no next cluster.
  743.  
  744.     1.91
  745.     * Slightly faster
  746.     * Added -a switch
  747.  
  748.     2.00
  749.     * Slightly smaller and faster.
  750.     * Creeping featurism!!
  751.     * Added -l switch, to look inside archives
  752.     * Decided that the ability to look inside achives should
  753.       signify a new major version, so it's now 2.0
  754.  
  755.     2.1
  756.     * Mod for stacker container files.
  757.     * Speeded up some filename checks (2 times in some cases)
  758.  
  759.     2.2
  760.     * Better disk-name processing.  Added WIZ environment
  761.       variable.
  762.     * Fixed bug introduced in 1.9 on pattern matching of
  763.       directory-names, with dot in pattern & no extent.
  764.     * Reset counts at the start of each path.
  765.  
  766.     2.3
  767.     * Fixed matching of directory names (a very subtle bug!!)
  768.     * Added -z flag (for other programs to call WIZ).
  769.     * Changed -g0 to query at each matching file.
  770.     * Changed date format. Included seconds in the time.
  771.     * Added checking for the "other" floppy disk, if there is only
  772.       one configured on the computer.
  773.  
  774.     2.4
  775.     * Changed order of size/date/time to be in the same as DIR.
  776.     * Re-fixed bug in directory matching.  It was even more subtle
  777.       than I thought. 
  778.     * Removed seconds from the time.
  779.     * Added -b switch, to allow it to look at normal files, and
  780.       inside archives, on the same pass thru the disk(s).  This
  781.       was the single most requested modification.
  782.     * Added ability to recursively look in archives.
  783.     * If no pattern specified, but only switches, assume "*".
  784.     * Some more speed-up optimization; some minor bugs fixed,
  785.       including another one with HUGE disks.
  786.     * Added -m switch.
  787.     * Check for CTRL-BREAK flag (not CTRL-C!!), to bail out 
  788.       quickly.
  789.     
  790.     2.5
  791.     * Seems I made a "running release" of v2.4, (bad, bad me!)
  792.       This gets things back in sync.
  793.     * Allow missing default disk set in WIZ environment, and allow
  794.       "/foo" switches for RCD & WIZ.
  795.       
  796.     2.6
  797.     * Added check & error msg on disk error.
  798.     
  799.     2.7
  800.     * Added "today's date" options to the -d switch.
  801.     * Made it work for Novell & Lantastic networked drives.
  802.     * -n switch, to bypass networked drives.
  803.     * Added ability to limit the printout by directory-name.
  804.     * Added -e option.        
  805.     * Added support for DOS 6.0 "DBLSPACE"
  806.  
  807.     2.7a
  808.     * Fixed bug with -q switch.
  809.     * Quit (no error message) on un-assigned DBLSPACE disk.
  810.  
  811.     2.8
  812.     * Fixed bug-an output character was NULL instead of a space.
  813.     * "-pp" will not print the header/trailer, for piping the
  814.       output to other programs.
  815.     * Another bug fix with "-q".
  816.     * Added DUBLDISK check.
  817.     * Check for directory validity.
  818.     * Removed "-z" flags; redirecting output and "-pp" makes more sense.
  819.     * Fixed a bug with huge directories, which popped up with DBLSPACE.
  820.       
  821.  
  822.     ********
  823.     Programming notes (if anyone is interested):
  824.  
  825.     The way I scan thru the disk, it pretty much sweeps thru
  826.     the disk from front to back, without (much) hopping back &
  827.     forth.  So it scans the 1st cluster of ALL the directories
  828.     and sub-directories on the disk, then makes a pass thru the
  829.     FAT (from start to end within the FAT), and so on.
  830.  
  831.     This optimization of head movement really helps to speed it
  832.     up, especially if you don't have a fast disk.  The
  833.     unfortunate side effect is that it looks at a directory one
  834.     chunk at a time, interspersed with chunks of other
  835.     directories.  But it sure is fast!!
  836.  
  837.  
  838.  
  839.                            --------------------------
  840.                              INVOICE / REGISTRATION
  841.                            --------------------------
  842.  
  843.  
  844.  
  845.           Sold to: ___________________________________________________
  846.  
  847.                    ___________________________________________________
  848.  
  849.                    ___________________________________________________
  850.  
  851.  
  852.              Date: ______________________________
  853.  
  854.  
  855.           ============================================================
  856.  
  857.  
  858.     I will normally send you the latest version on 5 1/4" disk.
  859.     Add $2 for 3 1/2" disk. (Net $22)
  860.     Deduct $5 (per copy) if you DON'T want me to send you a disk!
  861.  
  862.           _____ copies of WIZ version 2.8 at $20 each $____________
  863.  
  864.           _____ copies of RCD version ___ at $20 each $____________
  865.  
  866.           _____ add $2 for 3.5" disk              $____________
  867.  
  868.       _____ deduct $5 per copy for no disk (net $15)
  869.  
  870.         DISCOUNT for registering both is
  871.         $5 off.                  ____________
  872.  
  873.  
  874.  
  875.                                 TOTAL ENCLOSED.......  $____________
  876.     NOTE:
  877.     If you have the current version, I will send you
  878.     a disk with the NEXT version, when I release it,
  879.     unless you check here:
  880.  
  881.     Ray, YES, send me a disk NOW, even though I already
  882.     have the current version:  [__]
  883.  
  884.  
  885.  
  886.  
  887.       Where did you get your copy of WIZ?
  888.       Shareware distributor name:___________________
  889.       BBS name: ____________________
  890.       BBS phone #:  ____________________
  891.  
  892.  
  893.                       Send this invoice and your check to:
  894.  
  895.                 Ray Van Tassle
  896.                 1020 Fox Run Lane
  897.                 Algonquin, Il. 60102
  898.                 (708)-658-4941
  899.  
  900.  
  901.  
  902.  
  903.           =============================================================
  904.  
  905.           Thank you for your support ............... Ray Van Tassle
  906.  
  907.