I believe that I have not fully understood the concept of "part of a path name as a search string".
I have almost 300 MSWord documents named "WhatFAQ"
I want the WhatFAQ associated with my application for spell-checking.
I type in the search box "whatfaq ext:doc" which shows 296 items, and then append the string SPELL "whatfaq ext:doc spell" thinking that since the string "spell" is part of the path, this must narrow down the number of items reported.
This shows 0 items.
I scratch my head and preface the new string with a back-slash "whatfaq ext:doc \spell", knowing that the application will be found in the folder T:\Greaves\Products\USER\Spell\.
So far so good.
But how would I go about locating all WhatFAQ documents in all my applications that deal with spell-checking. For example, a second application is "T:\Greaves\Products\USER\PhoneSpell", but neither the naked "spell" nor the back-slashed "\spell" will locate this second folder.
Thanks, Chris
Please Correct my interpretation of the back-slash in search strings
-
ChrisGreaves
- Posts: 821
- Joined: Wed Jan 05, 2022 9:29 pm
Re: Please Correct my interpretation of the back-slash in search strings
It's not the slashes.
It is file name vs. path.
I didn't even realize (particularly) that what you said happens happens,
cause I typically always have enabled.
It is file name vs. path.
whatfaq ext:doc path:spellI didn't even realize (particularly) that what you said happens happens,
cause I typically always have
Search | Match PathRe: Please Correct my interpretation of the back-slash in search strings
Including a in your search term enables full path matching.
When Search -> Match Path is enabled, searches will always match against the full path.
When Search -> Match Path is disabled:
Searching for will match against only the name part.
Searching for will match against the full path.
For example:
\When Search -> Match Path is enabled, searches will always match against the full path.
When Search -> Match Path is disabled:
Searching for
fooSearching for
\fooUse the path: search modifier.But how would I go about locating all WhatFAQ documents in all my applications that deal with spell-checking. For example, a second application is "T:\Greaves\Products\USER\PhoneSpell", but neither the naked "spell" nor the back-slashed "\spell" will locate this second folder.
For example:
whatfaq ext:doc path:spell-
ChrisGreaves
- Posts: 821
- Joined: Wed Jan 05, 2022 9:29 pm
Re: Please Correct my interpretation of the back-slash in search strings
The Rube, thanks for getting my loco-motion back on the rails (grin)therube wrote: Fri Nov 21, 2025 3:57 pm...cause I typically always haveenabled.Search | Match Path
My lack of knowledge of the Match Path switch in the Search menu corroborates my standard disclaimer that I don't really know much about Everything ... Hooray! My simple search string "whatfaq spell" now locates my file(s), specifically the WhatFAQ.docs in the folder for my SPELL application.
Now my half-baked search techniques sent me off looking for other occurrences of "SPELL", because Everything can find everything, right? And by that interim operation I found the folder for another spelling application "PhoneSpell". For the next twenty minutes NOTHING I tried could report the WhatFAQ,DOC in each folder. Very Strange.
Until I discovered that I did not have a WhatFAQ.DOC for that PhoneSpell application; it turns out that for once in my life I had not started that project with the creation of my change-log tool WhatFAQ.
That is why in the second image I finally managed to show common files in each of the two folders: I changed the extent search to be for a DOT template.
Now I can find common file names in several folders-with-similar-names.
I need more work on my scientific technique ...
Thanks again, Chris
-
ChrisGreaves
- Posts: 821
- Joined: Wed Jan 05, 2022 9:29 pm
Re: Please Correct my interpretation of the back-slash in search strings
Thank you Void.
If I've understood this, that leading backslash is rather like a temporary "MatchPath" switch.
If the next search string does NOT contain a leading backslash, then MatchPath is not in force (unless the switch is ON in the Search menu)
Thanks, Chris
Re: Please Correct my interpretation of the back-slash in search strings
It's important to note that the in your search, in addition to temporarily enabling match full path, it still matches the in the full path.
will match
will not match
\\\spell\Spell\spell\PhoneSpell-
ChrisGreaves
- Posts: 821
- Joined: Wed Jan 05, 2022 9:29 pm
Re: Please Correct my interpretation of the back-slash in search strings
Thank you Void. I have elected to explore a bit more, still thinking of my "Spell" and "PhoneSpell" projects, but without confusion of files.void wrote: Sat Nov 22, 2025 9:38 pm It's important to note that thein your search, in addition to temporarily enabling match full path, it still matches the\in the full path.\
folder: *spellCheers, Chris
Re: Please Correct my interpretation of the back-slash in search strings
*spell*spellIf you want to match spell anywhere in the filename, use
*Spell*spell