How to find paths containing certain words, while excluding paths with similar words?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
PeterS
Posts: 9
Joined: Fri Jul 18, 2025 1:10 am

How to find paths containing certain words, while excluding paths with similar words?

Post by PeterS »

Hello,

On my main drive C: I want to find all paths that contain:
tmp
temp

and at the same time, not having any of these in any of the paths:
template
templates


With the following, I still see some paths containing the word template

C: path:<tmp|temp> !path:<template*>


And the following is probably just a wrong way to do things?
(plus it appears that the following does not show any paths with tmp or temp either)

C: path:<tmp|temp|!template*>


Thanks for any help and techniques to try.
ovg
Posts: 295
Joined: Thu Oct 27, 2016 7:19 pm

Re: How to find paths containing certain words, while excluding paths with similar words?

Post by ovg »

try c: regex:^te?mp$
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: How to find paths containing certain words, while excluding paths with similar words?

Post by therube »

c: ww:path:<tmp|temp>
Post Reply