How to show only the folder path I'm searching for?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

How to show only the folder path I'm searching for?

Post by vsub »

For example when I type part of the firefox profile folder(l0h7s1yw),I want to see in the results,the location of the folder and not display what's inside the folder.
void
Developer
Posts: 16670
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to show only the folder path I'm searching for?

Post by void »

Make sure Match Path is disabled from the Search menu, or use the nopath: modifier:

Code: Select all

nopath:l0h7s1yw
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: How to show only the folder path I'm searching for?

Post by vsub »

Yet again,I forgot I can do that by disabling Search=>Match Patch(which I almost always keep enabled).
But is this normal...Search=>Match Patch is enabled and I tried using Search=>Organize Filters=>Folders=>Edit=>place in the Search field nopath: and Match path is not enabled but when I tried to search using the Folders filter,it display the folder and all of the sub folders inside it.

I guess the matching modes from the search menus are forced and ignored from the Edit Filter

Search=>Match Patch - enabled
Folders Filter have only nopath: or path: in the search field
And the result is,all sub solders are displayed in both cases

Search=>Match Patch - disabled
Folders Filter don't have have nopath: in the search but the "Match path" check box is enabled
And the result is only the folders are displayed(without the sub folders)

Actually all of the chekboxes are ignored.
void
Developer
Posts: 16670
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to show only the folder path I'm searching for?

Post by void »

But is this normal...Search=>Match Patch is enabled and I tried using Search=>Organize Filters=>Folders=>Edit=>place in the Search field nopath: and Match path is not enabled but when I tried to search using the Folders filter,it display the folder and all of the sub folders inside it.
Yes, that's normal.
The Search menu options always override the filter's search options.
The filter's search options only effects the filter, not the search edit text.

Filters work by ANDing the two terms together, I think you are expecting the filter to wrap around the search edit term.
When you have the folder filter set to nopath: and active, the full search becomes <the filter search> AND <the search edit text>:
nopath: AND <search edit text here>
The nopath: filter term will expand to everything so it will just ignore that term.

I will look into adding support to allow the search edit text to be included in the filter, rather than ANDed with it.

For now, Bookmarks may be better in this case, since bookmarks effect the search menu options.
Post Reply