How to limit folders while searching for a specific folder

General discussion related to "Everything".
Post Reply
j2associates
Posts: 42
Joined: Wed Feb 05, 2020 12:37 pm

How to limit folders while searching for a specific folder

Post by j2associates »

Hello all,

I need to search for folders named Source. Of course, in a development environment, there are scads of them. I am currently searching using the following filter: regex:^Source$ folder:, which brings back all of the Source folders scattered over many network drives and paths. I can narrow the result set further by adding drives to the filter: regex:^Source$ folder: g:|j:|m:, using drives which I have previously mapped.

But I don't necessarily know which drives contain the Source folders I need. What I need to be able to do is to filter the paths returned in the Path pane of the result set for partial parent folder names (e.g. *MyName* or *MyCompanyName*). When I try to add them to my first filter above, it then returns an empty set. Thanks in advance for any ideas and/or suggestions.
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Re: How to limit folders while searching for a specific folder

Post by ovg »

Try something like

Code: Select all

folder:regex:.*("MyName|MyCompanyName").*\\source
Set Match path when a search term contains a path separator at Tools->Options->Search
Post Reply