Is there a "path:" modifier which doesn't match the filename?

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

Is there a "path:" modifier which doesn't match the filename?

Post by burgundy »

Is there a modifier similar to "path:" but which does not include the filename?

I wish to find files in paths with a certain string in the path name.
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Is there a "path:" modifier which doesn't match the filename?

Post by void »

burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

Re: Is there a "path:" modifier which doesn't match the filename?

Post by burgundy »

Thank you. Similarly is there a modifier which finds a string only in the file name?

I have tried "file:" and "files-only:" but some results match the path proper and not the file name.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Is there a "path:" modifier which doesn't match the filename?

Post by NotNull »

If you have Match Path enabled (under the Search menu), the full filename (including path) will be searched.
To prevent this, uncheck MAtch Path or use the no-path: search modifier.

Code: Select all

nopath:abc
will find c:\folder\abc.txt
will not find c:\abc\file.txt
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: Is there a "path:" modifier which doesn't match the filename?

Post by therube »

"pathpart:"

Heh. So I read about pathpart:, & I was like, neat.

And last night, that made me think, there are times I could use a "namepart:", so I tried that - to no avail.

I do also use name:, but name: still doesn't handle all my needs.


And then it was mentioned, "If you have Match Path enabled" (;-)) - which I always do, & nopath:.

(And then one turns a little bit, & says, ah, duh!, I know that already, don't I. A little reminder helps :-).)
Post Reply