How to view only the items inside at a directory path?

If you are experiencing problems with "Everything", post here for assistance.
Feoryc
Posts: 1
Joined: Sat Apr 27, 2024 4:42 pm

How to view only the items inside at a directory path?

Post by Feoryc »

[Alt title: How to add search text as param to bookmark?]

Using "Search Everything 1.5a..." button in the windows explorer context menu in a certain directory, it opens Everything with the search text as that path.

I want to be able to only view the folders and files inside that directory. There might be other solutions, but I tried making a bookmark.

By hitting the shortcut key, how can I make it place "parent:" before the search text?
You do not have the required permissions to view the files attached to this post.
void
Developer
Posts: 19902
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to view only the items inside at a directory path?

Post by void »

Please try setting your bookmark search to:

/expand parent:$current-search:



Search commands
/expand



To toggle the parent: search modifier, set your bookmark search to:

/expand <if:<regex-match:$current-search:,"^parent:">,<regex-replace:$current-search:,"^parent:","">,parent:$current-search:>



To always add quotes:

/expand <if:<regex-match:$current-search:,"^parent:">,<regex-replace:$current-search:,"^parent:","">,parent:<quote:<unquote:$current-search:>>>