The Computer Oracle

Get the parent of a folder from search results

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: The Builders

--

Chapters
00:00 Get The Parent Of A Folder From Search Results
00:36 Accepted Answer Score 7
00:46 Answer 2 Score 5
01:32 Answer 3 Score 1
01:44 Answer 4 Score 0
02:27 Thank you

--

Full question
https://superuser.com/questions/98717/ge...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows7 #windowsexplorer

#avk47



ACCEPTED ANSWER

Score 7


Use "Open folder location" rather than "Open in a new window".




ANSWER 2

Score 5


Open folder location is the ideal, built-in way, but another option is to create your own Open in New Window context menu entry as follows:

REGEDIT4

[HKEY_CLASSES_ROOT\Folder\shell\Open New Window]
@="Open New &Window"
[HKEY_CLASSES_ROOT\Folder\shell\Open New Window\Command]
@="Explorer.exe \"%L\""

Create a .reg file on your desktop and paste in the above. Close the file and double click to merge it into your registry (or right click and select "Merge"). The new context menu item should be available immediately. It will open the folder in the normal file-system hierarchy as opposed to as a child of search results. You can delete the .reg file.

Yet another option is to create an Open Parent context menu to allow you to open the parent of a folder:

REGEDIT4

[HKEY_CLASSES_ROOT\Folder\shell\Open Parent]
@="Open &Parent"
[HKEY_CLASSES_ROOT\Folder\shell\Open Parent\Command]
@="Explorer.exe \"%L\\..\""



ANSWER 3

Score 1


You can right click an item in that folder, and go to Properties and see the absolute Location path.




ANSWER 4

Score 0


Building on Synetech's answer: The "shell\Open parent directory" entry works on Windows 10 after modifying it a little – for recent versions of Windows, .reg files begin with "Windows Registry Editor Version 5.00".  Also his entry was limiting the context menu to folders.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\Open parent directory\command]
@="explorer.exe \"%I\\\\..\\..\\..\\\""

As previously explained by Synetech: Paste that into Notepad, save as .reg and apply and "Open parent directory" will appear in the context menu when clicking on folders or files.

You can also add a string named "Extended" in the "openparent" key so this option only appears while holding down shift.