Help please to formulate a search using multiple paths

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

Help please to formulate a search using multiple paths

Post by burgundy »

I want to search for particular files (to be specified) either on this path
"d:\med) "
or on this path
"d:\med "
Is it possible to write this as a single search?

(Clarification: there is one trailing blank in the first term and three trailing blanks in the second term which this board does not display. The actual search terms I wish to use do not have any quotation marks.)
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Help please to formulate a search using multiple paths

Post by NotNull »

The forum "eats" extra spaces. You can use code tags (the </> button) to keep your text as-is:

Code: Select all

"d:\med) "
"d:\med   "
Your search could look like:

Code: Select all

"d:\med) " | "d:\med   "
(| = OR )
burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

Re: Help please to formulate a search using multiple paths

Post by burgundy »

I had been trying to use the modifier "path:" although your suggestion reminds me that in this particular case it is not strictly necessary.

If "path:" (or another modifier) were used, then could it be done by a use of a single entry of "path:"?

For example, maybe something like the following can be made to work. Although at this stage, this doesn't actually work.

Code: Select all

path:""d:\med) " | :"d:\med   ""
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: Help please to formulate a search using multiple paths

Post by therube »

path:<""d:\med) " | :"d:\med "">

Though I'm not sure of your quotes, much less that colon?

I'm thinking you'll want this:

Code: Select all

path:<"d:\med) " | "d:\med   ">
Post Reply