SRCHFILS.WPM v1.0 for WordPerfect for DOS v6.x
  An alternative to QuickFinder
  Freeware; Copyright Robert J. Holmgren 7/16/2005

Features:
--------
Highlight all matches for a search string in found files
Optionally Open a found file for editing or inspection at
  the match location
Resume a search (after Opening a file or aborting the search)
  at the next uninspected file (instead of starting again at
  the beginning of the directory)
Optional "|" (or), "&" (and), or "!" (not) search operators

Operation:
---------
SRCHFILS searches for string[s] in files located in the same
  directory as the document in the current window.  If the
  current window is "(Untitled)", then the search is conducted
  in WordPerfect's current "default directory".  The rationale
  for this design is that you are most likely to be searching
  for strings within the same document *genre* as the current
  window:  e.g. if you are currently editing a text document,
  then your search is most likely targeted at other text
  documents; if you are editing a WP macro, then you are likely
  to be seeking strings in other macros.  Subdirectories are
  not searched.
    *** If the current directory is NOT the proper target    ***
    *** directory for your search,                           ***
    ***      EITHER:                                         ***
    *** 1) Open, in the current window, a dummy document     ***
    ***    from the desired directory and then run SRCHFILS; ***
    ***      OR                                              ***
    *** 2) Change the default directory and then launch      ***
    ***    SRCHFILS in an empty "(Untitled)" window.         ***

SRCHFILS first solicits the string (words or characters) for
  which you wish to search.  SRCHFILS remembers your
  last-specified SRCHFILS search string and supplies it as an
  initial default, which you may accept, modify, or replace
  [the most recent SRCHFILS search string is stored in
  persistent variable SrchSF].  If no prior SRCHFILS search
  string exists, the current default F2 "Search" string is
  supplied instead as the initial SRCHFILS default; this also
  may be accepted, modified, or replaced.

Searches are case-INsensitive.  Filenames which contain the
  character "{" and files with EXTension ".BK!" are excluded
  from the search; WP natively excludes other
  inappropriate/unsearchable files, such as files with EXTension
  ".EXE" and WP internal control files.  The set of files
  searched in the directory are determined by your _current_
  "Sort/Setup... Shft+F1" [FileManagerSortBySetup dialog]
  criteria.  Thus, if you have indicated that FileManager should
  display "WP Documents Only", then only WP documents will be
  searched.

When SRCHFILS locates a match, you can:
  hit C[ontinue] or spacebar to seek the next match (in the
    current file, or, if none exists, in the next file)
  hit N[ext] to abort searching within the current file, and
    continue to search within the directory, beginning with the
    Next file in the directory
  hit O[pen] to terminate the search and inspect the found file
    N.B.: Files are Opened *without* formatting for the current
    Printer!
  hit any other key to abort the search (restore your original
    window)
  hit "Esc"ape (CancelKey) at *any* time to abort the search

Optional Search Operators:  |(or) &(and) !(not).  Use the
  *single-character forms* of the operators:  "|", "&", and "!"
  (string literals "OR" "AND" and "NOT" are not accepted).  Only
  ONE *type* of operator ("|" or "&" or "!") may be used within
  a single search string, but you may use multiple instances of
  that one operator, e.g. "thomas jefferson & ambassador & paris"
  or "nuclear arsenal ! Moscow ! Soviet Union").  Operators
  must be preceded and followed by a space character.  Use of the
  OR and AND operators is self-evident.  A successful match using
  the NOT operator *finds* the first-mentioned search element and
  does *not find* any of the following elements.  Example:
      persist ! cancel ! resume
  A file matching these criteria would contain one or more instances
  of "persist" but MUST NOT contain the words "cancel" and "resume".

Optional Resume Search:
  After a found file has been Opened or a SRCHFILS search has been
  aborted (canceled), you may resume searching (i.e. relaunch
  SRCHFILS) at the *next* uninspected file in the same directory
  (instead of restarting at the beginning of the directory).
  When SRCHFILS relaunches, a (case-INsensitive) " /R" switch
  is appended to the search string, and is retained as part of
  the search string until SrchFils searches an entire directory
  and terminates normally, or until the directory to be searched
  is changed.
  For example, if the search string is:
      persist & cancel
  SrchFils automatically modifies it thus:
      persist & cancel /R
  To search again from TopOfFile, manually remove the " /R"
  switch.
  [The last-inspected filename is stored in persistent
  variable SrchPthFn].

Reserved Persistent WP Variable names:  SrchSF and SrchPthFn
Reserved Bookmark names:  ClipA and ClipB.

Enjoy!
