home *** CD-ROM | disk | FTP | other *** search
- June 1996
- This program consists of three files:
-
- WFIND2.EXE the main program
- WFIND2.DOC this file, also used as the help file
- WF2.BAT runs and coordinates the main program
-
- NOTICE:
- WFIND2.EXE creates and overwrites the following files:
-
- the File List filelist.lst
- the Search List srchlist.lst
- the Batch File xwnewbat.bat
- .
- on your temporary directory.
-
- If you need files with these names for some other purpose, then don't
- use this program.
-
- To begin:
- Enter WF2 followed by filenames (up to 10 items, wild cards * and ? are ok)
- on the command line, separated by spaces. To search all subdirectories
- of an item, follow the item by /S (no space).
-
- Enter WF2 *.* to create a File List of all files on the current directory
- for the current drive. Enter WF2 C:\*.TXT/S to create a File List of all
- files on drive C with extension TXT.
-
- The File List and the Search List themselves are never searched.
-
- The WF2.BAT Menu:
-
- 1. Search: You are prompted to enter a search string in quotes. It
- may contain the wild cards * or ?, as explained below:
-
- a) * means any sequence of characters (including the empty sequence),
- up to the next part. In particular, if the "search string" is
- "part1*part2", the program searches first for "part1". If "part1"
- is found then the search continues for "part2". If "part2" is found
- and the entire string is of 64 or less characters we have an
- occurrence of "part1*part2". The display will show the entire string
- in reverse video. Note that ** is the same as * and "*part1*" is the
- same as "part1".
-
- b) ? means any character, even a control character.
-
- The starting quote is included automatically. After the ending quote
- you may want to include some switches, such as:
-
- /P pause the display of file names in a search
- /I do a case insensitive search
- /Ln n or more occurrences of the search string is required for a find
- /L1 is the default
-
- The search displays each file in the File List, preceded by the number
- of occurrences of the search string, up to the number required for a find.
-
- Example: "the" /I /L5
- The search is case insensitive (T or t are treated as the same).
- 5 or more occurrences of the search string are required for a find, i.e.
- to send the file to the Search List.
-
- Example: ""
- This is the empty search. "" is always found in any file in an unlimited
- number of occurrences.
-
- Example: "Version" /I
- Use this on EXE or COM files to find a version number.
-
- Example: "the*the"
- This is exactly the same as entering: "the" /L2
-
- The choices 2 - 6 provide the Boolean search options.
-
- 2. NOT Search: The files that would not go to the Search List in an
- ordinary search are exactly the ones that go to the Search List in a
- NOT Search.
-
- 3. AND Search: The Search List is copied to the File List. Accordingly,
- only files already in the Search List will be searched. The original
- File List can be restored by selecting <R> on the menu.
-
- 4. AND NOT Search: Combine the AND and the NOT Search remarks above.
-
- 5. OR Search: The files sent to the Search List are added to those
- already in the Search List. This may result in duplicate files in the
- Search List.
-
- 6. OR NOT Search: Combine the OR and the NOT Search remarks above.
-
- X Extract Display / Act: Extracts from the files in the Search List are
- displayed (except for files added in a NOT Search). An extract consists
- of 76 characters from the file (as the characters are stored on the disk,
- in binary format). In an empty ("") search the first 76 characters of the
- file are shown. Otherwise, the extract is centered on the search string,
- which is shown in reverse video.
-
- The extract is modified as follows:
-
- 1. characters with ASCII values under 32 (control characters)
- are displayed as degree symbols, character 248, '°'.
-
- 2. characters before the beginning of the file and after the end of
- the file are displayed as half-tone rectangles, character 177, '▒'.
-
- In a text file a pair of degree sympols usually indicates the end of
- a line. Non text files may look like a mess of strange symbols with
- occasional familiar words.
-
- Each page of extracts contains up to 22 lines, one of which is in reverse
- video. The file corresponding to this line is shown on the bottom of the
- screen. The reverse video line can be moved up and down by the up and down
- arrows. Press <Page Down> to get the next page. After the last page, page
- 1 returns.
-
- Press <Space Bar> to select the reverse video line. Then you are prompted
- for a command to apply to the corresponding file. For example, for a text
- file, you may want to enter: EDIT *
-
- The first occurrence of * is replaced by the file name. If you choose to
- act on the command it is sent to the Batch File, xwnewbat.bat. WF2.BAT
- is arranged to call xwnewbat.bat to carry out your command.
-
- Switches:
-
- For a complete description of the switches available for WFIND2.EXE,
- including the switches to change the display colors and to change the
- search string wild cards, you will need to register below.
-
- No Warranty:
- ───────────
-
- There is no warranty. Use this product at your own risk.
-
- Use of the program:
- ──────────────────
-
- This is a shareware program. If you find it useful please register the
- program by sending $5 to the following address:
-
- Joel Westman
- 13320 SE Reedway CT
- Portland, OR 97236
-
- I can be reached at Compuserve User ID number 72067,145
-
- Please enclose the following:
-
- The name of the program: WFIND2 version 2.0
-
- Your Name: _________________________
-
- Address : __________________________
-
- City, State, Zip: __________________
-
- Remarks: ___________________________
-
- You will receive a complete list of switches to control XWFIND2.EXE
- and a more complete description of the operation of the program.
-
-