home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / DISK_UTL / WIZ251.ZIP / WIZ.DOC < prev    next >
Text File  |  1992-02-26  |  29KB  |  794 lines

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