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.

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

1 Answer 1

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

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.