combining Folder: with file name search

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

combining Folder: with file name search

Post by j2associates »

Hi everyone,

I want to find a specific file name in folder or subfolder, but am not sure how to include all subfolders with the Folder: statement.
1. How would I set up my search to find the file Config.xml in the folder c:\MyPath or any of the MyPath subfolders
2. How would I do number one above for a specific subfolder down the path (e.g. c:\MyPath\..\SubFolderPath\..

Thanks!
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: combining Folder: with file name search

Post by raccoon »

Make sure you turn on "Match Path" in the Search menu, otherwise use the verb "path:" somewhere in your search term.

1. path:"C:\MyPath\" "Config.xml"
or just C:\MyPath\ Config.xml if none of the path or file terms contain any spaces and you turned on "Match Path."

2. C:\MyPath\ \SubFolderPath\ Config.xml

quotation marks are only needed if any of your search elements contain spaces that you wish to preserve.
Post Reply