Programmer's WorkBench (pwb.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Search/Replace in Selected Files
◄Up► ◄Contents► ◄Index► ◄Back►
─────Programmer's WorkBench─────────────────────────────────────────────────
Search in Selected Files, Replace in Selected Files
PWB displays the Search in Selected Files and Replace in Selected
Files dialog boxes when you choose the Files button in the Find
and Replace dialog boxes. Use the Selected Files dialog boxes to
build a list of files that PWB is to search in multifile find or
find-and-replace operation.
See: ◄Search menu, Find► ◄Search menu, Replace►
The default value for the list is given by the definition of the
special macro Mgreplist. Mgreplist is redefined when you choose OK
and when you choose Cancel.
See: Mgreplist, Mgrep, Mreplace
These dialog boxes provide the following options to edit the list
of files.
Option Description
File Name Type the name of a file to search, or type a
wildcard to filter the File List box or to add
as a pattern.
File List Displays a list of files in the current
directory from which to choose.
Double-click a name to add to or remove from
the list.
File(s) Selected Lists the files and wildcards to search.
Add / Delete Adds the file specified in the File Name text
box to the list. If the file is already in the
list, it is removed from the list.
Clear List Clears the list of files.
Add Pattern Adds the wildcard specified in the File Name
text box to the list. If the wildcard is
already in the list, it is removed from the
list.
NOTE: Wildcards that you add to the list are applied to PWB's
current directory at the time of the search. If you change
directories, the same wildcard matches a different set of
files. That is, wildcards specify a generic pattern.
To specify a wildcard for a specific directory you must type
the full path of the directory with the wildcard in the File
Name text box. For example, to search all .TXT files in the
C:\DOC directory, type C:\DOC\*.TXT in the File Name text box,
and then choose Add Pattern.
-♦-