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.
Is there a "path:" modifier which doesn't match the filename?
Re: Is there a "path:" modifier which doesn't match the filename?
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.
I have tried "file:" and "files-only:" but some results match the path proper and not the file name.
Re: Is there a "path:" modifier which doesn't match the filename?
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.
will find c:\folder\abc.txt
will not find c:\abc\file.txt
To prevent this, uncheck MAtch Path or use the no-path: search modifier.
Code: Select all
nopath:abc
will not find c:\abc\file.txt
Re: Is there a "path:" modifier which doesn't match the filename?
"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 .)
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 .)