Searching Multiple Folders WITH extent

Discussion related to "Everything" 1.5 Alpha.
Post Reply
ChrisGreaves
Posts: 684
Joined: Wed Jan 05, 2022 9:29 pm

Searching Multiple Folders WITH extent

Post by ChrisGreaves »

Please see also Searching Multiple Folders

My search
(T:\Greaves\Training\spreadsheets | T:\Greaves\Training\microsoftexcel | T:\Greaves\Training\microsoftexcelVBA\)
returns 253 objects in each of the three specified folders. So far so good. The files are a mixture of DOC, PDF, JS, HTM etc.

I want to see only my MSWord documents, so I upgrade my search string to append Ext:doc

Code: Select all

(T:\Greaves\Training\spreadsheets | T:\Greaves\Training\microsoftexcel | T:\Greaves\Training\microsoftexcelVBA\) ext:doc
which, sadly, still returns 253 Objects.

I believe that I have misunderstood the syntax for compound search strings.
I am using the vertical bar for "OR"
I am using the <space> for "AND"
I am using parentheses for grouping terms for precedence in evaluation.

I noticed the lower right corner "Document", so changed that back to Everything, which now delivers me 474 objects instead of 253 Objects.

Thanks in advance for any suggestions.
Chris
Attachments
Untitled2.png
Untitled2.png (98.42 KiB) Viewed 1201 times
Untitled.png
Untitled.png (70.3 KiB) Viewed 1201 times
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searching Multiple Folders WITH extent

Post by void »

Please try using < and > for parenthesis instead of ( and )

Code: Select all

<T:\Greaves\Training\spreadsheets | T:\Greaves\Training\microsoftexcel | T:\Greaves\Training\microsoftexcelVBA\> ext:doc
or without < and > and a semicolon (;) delimited list of folders:

Code: Select all

T:\Greaves\Training\spreadsheets;T:\Greaves\Training\microsoftexcel;T:\Greaves\Training\microsoftexcelVBA\ ext:doc
ChrisGreaves
Posts: 684
Joined: Wed Jan 05, 2022 9:29 pm

Re: Searching Multiple Folders WITH extent

Post by ChrisGreaves »

void wrote: Thu May 11, 2023 10:04 am Please try using < and > for parenthesis instead of ( and )
or without < and > and a semicolon (;) delimited list of folders:
Thank you Void for this reply. I tried. They worked. I now use!
My homework assignment: Back to the Wiki for me, "Syntax"

Thanks again.
Chris
Post Reply