Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

When you hold shift while right-clicking a folder in Windows, the context menu includes the option to "Open a command window here".
Is there a registry tweak, or extension\add-on, which frees you from the need of holding the shift for this operation?

share|improve this question
up vote 13 down vote accepted

Write up on How To Geek, they also include downloadable reg files to make the edits for you, or open regedit and navigate to:


Change the name of the key "Extended", or just delete it, this will give you “Open Command Window Here” on right clicking drives.

For directories do the same thing as above here:

share|improve this answer
Not sure what is hard to follow, it's a simple renaming of 2 entries and even then you could just delete them. He suggested renaming because you can rename them back to get original functionality. Anyway, +1 for correct answer. Although usually it's good to write down the procedure in addition to linking to original, since if linked page becomes unavailable, your answer would be meaningless. – T. Kaltnekar Feb 1 '11 at 10:17
Now that I've re read it after some time away from the PC it does make perfect sense... I'll amend my answer with the steps. – Windos Feb 1 '11 at 10:34
So can you add entries to the hidden list by adding that registry entry? – paradroid Feb 1 '11 at 11:43
@paradroid: I believe that's the case, yes. – afrazier Feb 1 '11 at 13:57
@paradroid: I don't see why not. I might play around with it a work if there is a lull. – Windos Feb 1 '11 at 17:37
  1. Start / regedit

  2. Browse to each of the following folders 'keys' in the registry tree

    • HKEY_CLASSES_ROOT\Drive\shell\cmd
    • HKEY_CLASSES_ROOT\Directory\shell\cmd
    • HKEY_CLASSES_ROOT\Directory\Background\shell\cmd
  3. Delete the file 'value' called 'Extended'.

Alas the regedit doesn't have a URL bar, so navigating to find those three folders is more tedious than it could be.

share|improve this answer
+1 for covering HKEY_CLASSES_ROOT\Directory\Background\shell\cmd – trlkly Oct 21 '14 at 10:43

I like using the small CmdOpen shell extension. It will replace the built-in functionality and enhance it by adding an Open Elevated Command Prompt Here option. It also adds entries to the context menu of the folder background, so you don't have to mouse over to the tree view and hit a small target (or go up a folder if you have the tree hidden).

share|improve this answer

The above solution can be done without manually editing the registry. Someone has already done the script for us.

Note that before running any reg file, view it to make sure it is safe.

share|improve this answer
THIS should be accepted answer. – Dmitry Nazarov Jul 14 '14 at 17:18
Hi Jus12, can you please edit your answer to include the information from the link? Thanks – Canadian Luke Jul 29 '15 at 18:05

You must log in to answer this question.

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