Can I search a full or partial file path as well as filename using regex in filename box?

0 votes

An example - I would like to search for all files containing a 'q' in the filename portion, that has a directory path with 'temp' found somewhere in the path. Such as:

\somedir\sometempdir\someqdata.txt

Is it possible to search for this in the filename box? If not, is there another way to achieve it?

Thank you.

asked Apr 28, 2016 by pseudonym (30 points)

1 Answer

0 votes

Yes, you would do something like:

File name:       q
Containing Text:
Look In:         C:\;+temp

The +temp says that the path must have 'temp' somewhere in it.

Conversely you could do -temp to say that it must NOT have 'temp' in the path.

answered Apr 28, 2016 by dave (53,670 points)
...