Page 1 of 1

Searching for files only in folders containing phrase.

Posted: Wed Sep 27, 2023 10:01 am
by chalger
Hello everyone!

How do I search for files only in folders containing phrase.
For example search for file names containing dogs in all folders that name contains animal.

Say I have folders C:\Animals\1. Small animals and D:\Projects\Large animals etc.
How do i find files that name containing phrase dog if I only remeber that the folder name contains the phrase animals.

I know I can search like: dog /"1. Small animals" but how do I wildcard searching for dog in all folders containing the word animals.
*/"animals" or "/*animals" doesn't work.

Thank you for any help
chalger

Re: Searching for files only in folders containing phrase.

Posted: Wed Sep 27, 2023 10:07 am
by void
Please try the path: search modifier:

dog path:animal

This will match animal anywhere in the full path and name.



Using a wildcard will force Everything to match the whole filename.

Please try the following wildcard search:

*animal*\* dog

-or-

Disable Tools -> Options -> Search -> Match whole filename when using wildcards and search for:

animal*\ dog

Re: Searching for files only in folders containing phrase.

Posted: Wed Sep 27, 2023 10:58 am
by chalger
Nice one!
Thank you.