Search for multiple folders

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Search for multiple folders

Post by tuska »

I want to narrow down the search for multiple folder names:
Excel Word (with exact word description) should only to be searched for and found in the path I:\data.

Unfortunately I was unsuccessful so far and in the forum I found nothing corresponding.

Please help.
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search for multiple folders

Post by void »

Use the OR operator: | to limit the search to multiple locations.

For example, to limit the search to C:\folder\subfolder or D:\a really long folder with spaces\a subfolder or E:\yet another folder or f:\example\abc\123, search for:
C:\folder\subfolder\ | "D:\a really long folder with spaces\a subfolder\" | "E:\yet another folder\" | f:\example\abc\123\

To find documents in these locations, search for:
C:\folder\subfolder\ | "D:\a really long folder with spaces\a subfolder\" | "E:\yet another folder\" | f:\example\abc\123\ doc:

To find xls, xlsx,doc or docx in these locations, search for:
C:\folder\subfolder\ | "D:\a really long folder with spaces\a subfolder\" | "E:\yet another folder\" | f:\example\abc\123\ ext:xls;xlsx;doc;docx


Notes: Type in the path followed by a backslash to search paths.
Use double quotes to escape spaces.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Search for multiple folders

Post by tuska »

Thank you for your prompt answer.

I:\Data\Excel\ | I:\Data\Word\ => brings nothing
I:\Data\Excel | I:\Data\Word => brings exactly what I want, but isn't there any other way to leave the path in search-field?

Example:
parent:I:\Data folder:Excel|Word OR path:I:\Data folder:Excel|Word => does not produce the desired result
Last edited by tuska on Mon Jul 31, 2017 11:13 am, edited 1 time in total.
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search for multiple folders

Post by void »

Please try:
i:\data\ \excel|\word

The \ in \excel and \word forces full path and filename matching.

A similar search:
parent:I:\Data path:<Excel|Word>

Use < and > to group operators.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Search for multiple folders

Post by tuska »

i:\data\ \excel|\word ... brings 750 Objects ...
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Search for multiple folders [solved]

Post by tuska »

parent:I:\Data path:<Excel|Word>
is the solution.

Thank you very much!

Regards
Karl
Post Reply