Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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 '10 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 '10 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 '10 at 17:16
up vote 2 down vote accepted

Download the latest version of Agent Ransack 2010.

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

share|improve this answer

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

Here's the hack's REG file contents:

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.