Searching in a List of Directories
Go Up to How To Manage Files and Folders
On the Search > Find in Files dialog box, you can search through a directory, a list of directories, or a directory group.
You can enter a list of directories in this dialog box in either of two ways:
- In the Directories field, type the directory names, and separate the names with a semicolon (;). This method is slow and error-prone.
- Click (Folders and Groups) and use the Select Directories dialog box to construct the list of directories. This method is described more fully in the second procedure below.
To enter your search parameters and execute the search
- Choose Search > Find in Files.
- Enter your search string in the Text to find field.
- Enable any options required for your search, such as Case sensitive, Whole words only, and Regular expressions.
- Specify where the search is to occur. To search a list of directories, enable the Search in directories radio button.
- Enter a file mask. To search all files, use *.* as the file mask.
- In the Directories field, specify your directory list (use the following procedure).
- Enable Include subdirectories to search more than just the top-level files.
- In Subdirectory exclude mask specify which subdirectories should be excluded during the search.
- Specify Output options.
- Click OK.
Note: On the Find in Files dialog box, you must enable the Search in directories radio button in order to enable the File mask, the Directories, and the Subdirectory exclude mask fields.
To specify a directory list to search
- On the Find in Files dialog box, click (Folders and groups).
- On the Select Directories dialog box, enter directory names by doing either of the following:
- After adding all the directories you want on the Select Directories dialog box, click OK.
- The Find in Files dialog box reappears, with your semicolon-separated directory list in the Directories field.