3

I'd like to add an option in my context menu to be able to right click on a file and view the containing folder in Windows Explorer. Can somebody point me in the right direction?

3
  • 2
    If you are able to right click on the file then aren't you already in it's 'containing folder' in order to view the file icon?
    – Daisetsu
    Jul 13, 2010 at 0:53
  • No, I'm using Agent Ransack and I'd like to add this to the results of a search.
    – Mike Cole
    Jul 13, 2010 at 2:09
  • Never used Agent Ransack, but is the context menu the standard Windows Explorer context menu? As in, does it have the Send To option?
    – Agent_9191
    Jul 15, 2010 at 17:16

3 Answers 3

2

Download the latest version of Agent Ransack 2010.

It has an "Explore here" option in the right-click context menu.

1

I think you need to be clear on what you're right-clicking. If it's an actual file in Explorer, you're already looking at the containing folder (as was mentioned by Daisetsu).

In the more likely case where you're right-clicking a shortcut on the desktop or in the Start menu, then there's a simple registry hack that does the job perfectly at http://www.askvg.com/how-to-get-windows-vista-and-7s-open-file-location-option-in-xp/.

Here's the hack's REG file contents:

Windows Registry Editor Version 5.00
;Created by Vishal Gupta for AskVG.com
[HKEY_CLASSES_ROOT\*\shell]
[HKEY_CLASSES_ROOT\*\shell\File Location]
@="Open &File Location"
[HKEY_CLASSES_ROOT\*\shell\File Location\command]
@="\"explorer.exe\" /select,\"%1\""

0

-- based on Vishal Gupta's article and boot13's answer... --

Here's an improved version:

  • New name 'Explore here' (instead of 'Open File Location').
  • Menu item appears in top of the context menu.
  • It has an icon next to it.

Instructions:

  1. Create empty REG-file
  2. Copy + paste registry script and save file.
  3. Run the REG-file.

File name:

Add 'Explore here' option in Windows XP.reg

Contents:

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell]
[HKEY_CLASSES_ROOT\*\shell\File Location]
@="&Explore here"
"Icon"="imageres.dll,203"
"Position"="Top"
[HKEY_CLASSES_ROOT\*\shell\File Location\command]
@="\"explorer.exe\" /select,\"%1\""

note: These registry changes were tested in Windows 10, not Windows XP.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .