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

Have always used the following registry file to add a right click a rooted explorer here type entry for the windows explorer right click menu.

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\Root Here]
@="Rooted Explorer"
[HKEY_CLASSES_ROOT\Folder\shell\Root Here\command]
@="%SystemRoot%explorer.exe /e,/root,%1"

It always worked great on windows XP but I haven't used it in a long time an when trying it out again I found that it does not work on windows 7. It looks like it is attempting to run the selected directory as an application.

Error message:

enter image description here

Any idea how to fix this?

share|improve this question
    
Fix as in 'undo' or as in 'change the reg file so it works with win 7' ? – Hennes Nov 21 '12 at 14:03
    
@Hennes: Fix it so that it works. – Gerhard Nov 22 '12 at 6:36
up vote 1 down vote accepted

Save the following as a .REG file and import:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\roothere]
@="Rooted E&xplorer"

[HKEY_CLASSES_ROOT\Folder\shell\roothere\command]
@="explorer.exe /e,/root,\"%1\""
share|improve this answer
    
As easy as adding quotes and escaping them. Thanks. I tried extra quotes but not escaping them. – Gerhard Nov 22 '12 at 6:46

You must log in to answer this question.

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