Folder context menu got rearranged - HELP!

G

Guest

Somehow the folder context menu (right-click on a folder or folder shortcut)
has become rearranged and "Search" has moevd to the top instead of "Open".
So, when I double-click a folder instead of opening the Search window
appears. How can I fix this?
 
R

Ramesh, MS-MVP

This problem occurs when you alter the "Drive" / "File Folders" entries via
File Types dialog, to add a "Command Prompt here" or "Print Directory"
feature for folders. (example)

http://support.microsoft.com/?kbid=321379
http://support.microsoft.com/?kbid=321186

Resolution:

Click Start/Run and type this command to fix this problem:
(Tip from David Candy)

regsvr32 /i shell32.dll

-or-

To fix this manually via registry:

If this problem is seen for Drives:

HKEY_CLASSES_ROOT\Drive\shell
Set (default) to "none" (without ")

If this problem is seen for folders:

[HKEY_CLASSES_ROOT\Directory\shell]
Set (default) to "none" (without ")
 
G

Guest

Thank you Ramesh. The cause you mentioned is not what happened, but it did
clue me into what DID happen, plus your suggested fix worked. I realize now
that this problem started when I tried to install a custom icon for File
Folders. Knowing that the standard icons are located in shell32.dll is what
tipped me off.

Ramesh said:
This problem occurs when you alter the "Drive" / "File Folders" entries via
File Types dialog, to add a "Command Prompt here" or "Print Directory"
feature for folders. (example)

http://support.microsoft.com/?kbid=321379
http://support.microsoft.com/?kbid=321186

Resolution:

Click Start/Run and type this command to fix this problem:
(Tip from David Candy)

regsvr32 /i shell32.dll

-or-

To fix this manually via registry:

If this problem is seen for Drives:

HKEY_CLASSES_ROOT\Drive\shell
Set (default) to "none" (without ")

If this problem is seen for folders:

[HKEY_CLASSES_ROOT\Directory\shell]
Set (default) to "none" (without ")


--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


KGF said:
Somehow the folder context menu (right-click on a folder or folder
shortcut)
has become rearranged and "Search" has moevd to the top instead of "Open".
So, when I double-click a folder instead of opening the Search window
appears. How can I fix this?
 
C

Craig

Ramesh said:
This problem occurs when you alter the "Drive" / "File Folders" entries
via File Types dialog, to add a "Command Prompt here" or "Print Directory"
feature for folders. (example)

http://support.microsoft.com/?kbid=321379
http://support.microsoft.com/?kbid=321186

Resolution:

Click Start/Run and type this command to fix this problem:
(Tip from David Candy)

regsvr32 /i shell32.dll

Thank you, Ramesh. I had the same problem on one PC and it bothered me a
lot. Now it's fixed. The real problem for me was not so much the order of
the right-click menu options but the fact that when double-clicking a drive,
the top right-menu choice was run--and I wanted my drives to Open, not to
Search.

Craig
 
R

Ramesh, MS-MVP

You're welcome KGF.

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


KGF said:
Thank you Ramesh. The cause you mentioned is not what happened, but it
did
clue me into what DID happen, plus your suggested fix worked. I realize
now
that this problem started when I tried to install a custom icon for File
Folders. Knowing that the standard icons are located in shell32.dll is
what
tipped me off.

Ramesh said:
This problem occurs when you alter the "Drive" / "File Folders" entries
via
File Types dialog, to add a "Command Prompt here" or "Print Directory"
feature for folders. (example)

http://support.microsoft.com/?kbid=321379
http://support.microsoft.com/?kbid=321186

Resolution:

Click Start/Run and type this command to fix this problem:
(Tip from David Candy)

regsvr32 /i shell32.dll

-or-

To fix this manually via registry:

If this problem is seen for Drives:

HKEY_CLASSES_ROOT\Drive\shell
Set (default) to "none" (without ")

If this problem is seen for folders:

[HKEY_CLASSES_ROOT\Directory\shell]
Set (default) to "none" (without ")


--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


KGF said:
Somehow the folder context menu (right-click on a folder or folder
shortcut)
has become rearranged and "Search" has moevd to the top instead of
"Open".
So, when I double-click a folder instead of opening the Search window
appears. How can I fix this?
 
G

Guest

So what is the real fix to his problem since both refs don't address it, read
it carefully? If "regsvr32 /i shell32.dll" does fix it what exactly does
this cmd do to the registry that somehow solves the problem he described.
 
R

Ramesh, MS-MVP

Please post your problem first. If you're facing the same problem, look at
the two KB articles.
 
G

Guest

OK, I guess it wasn't obvious to me how changing the registry in that manner
would fix the problem but it did...so thanks.
 
R

Ramesh, MS-MVP

Thanks for the feedback. BTW, registering the shell32.dll as per my original
post earlier, fixes this automatically.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top