Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

4 Answers 4

up vote 9 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:

HKEY_CLASSES_ROOT\Drive\shell\cmd

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:

HKEY_CLASSES_ROOT\Directory\shell\cmd
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 at 10:43

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

http://www.sevenforums.com/tutorials/134840-open-command-window-here-add-remove-shift-right-click.html

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

share|improve this answer
    
THIS should be accepted answer. –  aspect_mkn8rd Jul 14 at 17:18

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

Your Answer

 
discard

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.