Search through shortcut with context menu

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Search through shortcut with context menu

Post by harryray2 »

I use the search Everything context menu a lot...is it possible to search a shortcut?

I right clicked a shortcut but there was no entry for Everything.
Last edited by harryray2 on Sat Aug 21, 2021 9:05 am, edited 1 time in total.
horst.epp
Posts: 1451
Joined: Fri Apr 04, 2014 3:24 pm

Re: Search through shortcut with context menu

Post by horst.epp »

What do you mean ?
"Search this filename with Everything" is shown here in any file manger
in the context menu also for .lnk files.
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: Search through shortcut with context menu

Post by harryray2 »

Scrub through what I wrote previously...I can search a directory shortcut but is there any way I can search, with the context menu, the parent directory of a shortcut pointing to a file?
void
Developer
Posts: 16841
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search through shortcut with context menu

Post by void »

harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: Search through shortcut with context menu

Post by harryray2 »

Thanks, I'll go through all the steps and give it a try...will it still enable me to use the context for a directory shortcut as well as the parent and can it be used with 1.5?
void
Developer
Posts: 16841
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search through shortcut with context menu

Post by void »

will it still enable me to use the context for a directory shortcut


Yes, you can have both context menu items.
as well as the parent and can it be used with 1.5?
Yes, please specify the Everything 1.5 executable name when setting up the registry:
C:\Program Files\Everything 1.5a\Everything64.exe
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: Search through shortcut with context menu

Post by harryray2 »

I've been trying this out...I can't get it to work.

First, is this the correct setting to search the parent folder of a link to a file?
void wrote: Sun Jun 23, 2013 8:06 am What about context menus ?

For folders you could add your own context menu:
In regedit, make the following key:

Code: Select all

HKEY_CLASSES_ROOT\Folder\shell\Search Parent...\command
Set the default value in HKEY_CLASSES_ROOT\Folder\shell\Search Parent...\command to:

Code: Select all

C:\Program Files\Everything\Everything.exe -parentpath \"%1\"
Where C:\Program Files\Everything\Everything.exe is the location of your Everything.exe

For files you could add your own context menu:
In regedit, make the following key:

Code: Select all

HKEY_CLASSES_ROOT\*\shell\Search Parent...\command
Set the default value in HKEY_CLASSES_ROOT\*\shell\Search Parent...\command to:

Code: Select all

C:\Program Files\Everything\Everything.exe -parentpath \"%1\"
void
Developer
Posts: 16841
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search through shortcut with context menu

Post by void »

I've been trying this out...I can't get it to work.
What happens?

Please try without the backslashes (\).

The following should work for lnk files:

In regedit, make the following key:

Code: Select all

HKEY_CLASSES_ROOT\*\shell\Search Parent in Everything\command
Set the default value in HKEY_CLASSES_ROOT\*\shell\Search Parent in Everything\command to:

Code: Select all

C:\Program Files\Everything\Everything.exe -parent-path "%1"
Where C:\Program Files\Everything\Everything.exe is the location of your Everything.exe

zybexXL
Posts: 31
Joined: Mon Mar 06, 2017 3:59 pm

Re: Search through shortcut with context menu

Post by zybexXL »

From my reading, harryray2 wants to right-click on a shortcut and have an option to search the target folder of that shortcut.
The regkey works for the folder where the file/shortcut is located (ie, desktop), not for its target folder. I guess this is doable on v1.5 by using a Property of the shortcut?
Post Reply