Page 1 of 1
How to open path/"containing folder" to search results?
Posted: 07 Jul 2015 03:38
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.
Re: How to open path/"containing folder" to search results?
Posted: 07 Jul 2015 07:45
by SkyFrontier
...scripting?
Select the target item on results list and run this:
Code: Select all
$a = "<curitem>";
$trgt = getpathcomponent("$a", "path");
goto """$trgt""";
Re: How to open path/"containing folder" to search results?
Posted: 07 Jul 2015 07:51
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)
Re: How to open path/"containing folder" to search results?
Posted: 07 Jul 2015 19:18
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.)
Re: How to open path/"containing folder" to search results?
Posted: 07 Jul 2015 20:20
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.
Re: How to open path/"containing folder" to search results?
Posted: 08 Jul 2015 00:15
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.
Re: How to open path/"containing folder" to search results?
Posted: 09 Jul 2015 01:59
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!
