shortcut for searching only folder/file

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
sibojan
Posts: 9
Joined: Fri Dec 23, 2016 6:56 pm

shortcut for searching only folder/file

Post by sibojan »

Any shortcut to search only folder without Alt+S+F to pull down the menu?

Hopefully this can be customized.
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: shortcut for searching only folder/file

Post by therube »

Search | Organize Filters -> New...

Code: Select all

             Name:   Folders
           Search:   folders:
Keyboard shortcut:   Ctrl+Alt+F
Change the shortcut to what you want.
I arbitrarily picked that figuring it wouldn't already be in use.


Note that when in effect, that also changes the Filters dropdown box to show the word, "Folders".
SuperDude
Posts: 221
Joined: Thu Sep 25, 2014 7:57 pm

Re: shortcut for searching only folder/file

Post by SuperDude »

@sibojan: Assuming I understand what you are asking for...

I created a custom registry key which adds a “Search with Everything” context menu entry (including my own custom icon) to any folder I right-click on. This way, I don't have to open Everything first, or use hotkeys within Everything.

My registry key entry looks like this:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Search with &Everything]
"Icon"="C:\\ICONS\\Everything.ico"

[HKEY_CLASSES_ROOT\Directory\shell\Search with &Everything\Command]
@="\"D:\\Everything\\Everything.exe\" -path \"%1\""

* You will of course have to modify the path to match your Everything.exe file's path location.

The registry key does the following:

❶ It creates a “Search with Everything” context menu that appears when you right-click on a folder.

❷ It adds a custom icon that is displayed for the context menu.

❸ When you right-click on a folder in the left-side pane (in the folder tree), then click on the “Search with Everything” context menu entry, an Everything window will open showing you all of the sub-folders and files inside just the folder you right-clicked on.

❹ If you only want to view the files (that is, hide any sub-folders in your selected folder), just type file: → The text in the search bar in this case looks like this (on my computer): "D:\EVERYTHING\" file: → Only files are now shown, all folders are now hidden.

❺ If you replace file: in the above example with folder: all files are hidden, and only folders are shown.

While I use Directory Opus exclusively for file management, this custom registry key works with Windows Explorer. NOTE: I am running Windows 8.1 [64-bit], so I don't know if this will work with Windows 10.
sibojan
Posts: 9
Joined: Fri Dec 23, 2016 6:56 pm

Re: shortcut for searching only folder/file

Post by sibojan »

Both approaches above fulfill my purpose and works great.
@SuperDude: your approach dose work with windows 10 as well.
I appreciate your help :) .
SuperDude
Posts: 221
Joined: Thu Sep 25, 2014 7:57 pm

Re: shortcut for searching only folder/file

Post by SuperDude »

@sibojan: You're welcome. Glad I could help.
Post Reply