How to open path/"containing folder" to search results?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
jr5280
Posts: 18
Joined: 01 Jul 2008 01:33

How to open path/"containing folder" to search results?

Post by jr5280 »

When examining the results of a search, I often want to go directly to the containing folder of one of the listed files ... how do I do that most efficiently?

In the application Search Everything, for example, I simply right-click on the file of interest and select "Open Path" from the context menu, and Windows Explorer opens to the path/containing folder. I can't find such a shortcut in XYplorer. The full path to the file is listed in an adjacent column as plain as day, but I can't figure out how to get there without manually navigating through the tree.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: How to open path/"containing folder" to search results?

Post by SkyFrontier »

...scripting?

Select the target item on results list and run this:

Code: Select all

   $a = "<curitem>";
   $trgt = getpathcomponent("$a", "path");
   goto """$trgt""";
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Stef123

Re: How to open path/"containing folder" to search results?

Post by Stef123 »

or without scripting:
right-click the found file name > "Open containing folder in new background tab"
It will be the tab right next to the search results tab (left of it)

jr5280
Posts: 18
Joined: 01 Jul 2008 01:33

Re: How to open path/"containing folder" to search results?

Post by jr5280 »

Stef123 wrote:or without scripting:
right-click the found file name > "Open containing folder in new background tab"
It will be the tab right next to the search results tab (left of it)
That's the problem: when I right-click on the found file, I don't have such an option in the context menu. Since you do, and since the Help manual states that I should have the option as well, that means that there's a related configuration setting of some kind that I need to change. I must have changed some default setting back in the day, turning off the option without realizing it....

To make a long story short: the "Custom items in shell context menu" option -- Tools > Configuration... > General > Menus, Mouse, Safety > Context Menus -- must be selected for the special search results context menu items to appear. (If you select this option, you may want to unselected all/most/some of the custom items in the Folder Tree... and File List... dialog boxes so that your various context menus won't be a mile long.) I don't actually recall having ever unselected this option, but I must have.

Alternatively, the Ctrl+Alt+Left shortcut can be used to "Go to Focused Item," which also opens the item's containing folder in a new tab. (I didn't initially notice this shortcut in the Help manual because it's presented in an inconspicuous blazing violet font.)

ksarnelli
Posts: 154
Joined: 13 Dec 2014 04:48

Re: How to open path/"containing folder" to search results?

Post by ksarnelli »

jr5280 wrote:
Stef123 wrote:or without scripting:
right-click the found file name > "Open containing folder in new background tab"
It will be the tab right next to the search results tab (left of it)
That's the problem: when I right-click on the found file, I don't have such an option in the context menu. Since you do, and since the Help manual states that I should have the option as well, that means that there's a related configuration setting of some kind that I need to change. I must have changed some default setting back in the day, turning off the option without realizing it....

To make a long story short: the "Custom items in shell context menu" option -- Tools > Configuration... > General > Menus, Mouse, Safety > Context Menus -- must be selected for the special search results context menu items to appear. (If you select this option, you may want to unselected all/most/some of the custom items in the Folder Tree... and File List... dialog boxes so that your various context menus won't be a mile long.) I don't actually recall having ever unselected this option, but I must have.

Alternatively, the Ctrl+Alt+Left shortcut can be used to "Go to Focused Item," which also opens the item's containing folder in a new tab. (I didn't initially notice this shortcut in the Help manual because it's presented in an inconspicuous blazing violet font.)
Do you happen to have Config > Other > Shell Integration > "Show the 64-bit context menu" checked? I think that would prevent you from seeing the menu item as well.

jr5280
Posts: 18
Joined: 01 Jul 2008 01:33

Re: How to open path/"containing folder" to search results?

Post by jr5280 »

ksarnelli wrote: Do you happen to have Config > Other > Shell Integration > "Show the 64-bit context menu" checked? I think that would prevent you from seeing the menu item as well.
No. I'm dinosaur using 32-bit Windows XP, so that option doesn't apply to me.

Everything has been working fine since I selected "Custom items in shell context menu." I simply didn't realize that this option controls the four extra Search Results context menu items, as they are not listed among the eleven selectable custom menu items in the File List... dialog box.

diannelamerc
Posts: 17
Joined: 09 Jul 2015 01:33

Re: How to open path/"containing folder" to search results?

Post by diannelamerc »

ksarnelli wrote:Do you happen to have Config > Other > Shell Integration > "Show the 64-bit context menu" checked? I think that would prevent you from seeing the menu item as well.
This fixed the same problem for me. (I.e., no special context menu when I right-click a file in the search results that should allow me to open the found file in its folder.)
Thank you much for the advice--I would never have figured it out myself! :D
Been using the registered version for years now; just starting to take time to play around with some of the more advanced features when I get the time. So I may well be on here periodically... like when I've, uh, broken something... :oops: :? :roll:

Post Reply