闲暇、偶然,杂乱、零碎、等等

『特注:此博客以转贴为主,大部分文章来自网络搜索,如果涉及版权,请及时告知,博主会及时撤下内容。』

2009年2月21日星期六

双击总是在新窗口打开文件夹(分区)的解决方法

似乎优盘感染了类似autorun病毒,不过已经查杀。电脑留下后遗症,就是XP右键菜单里的搜索功能无法使用(提示该文件没有程序与之关联来执行该操作……),而从菜单栏里点搜索OK。
Google之,修改注册表,在目录HKEY_CLASSES_ROOT\Folder\shell、HKEY_CLASSES_ROOT\drive\shell和HKEY_CLASSES_ROOT\Directory\shell下改了半天,却一直没有弄好。倒弄出个新问题——“双击分区和文件夹,均在新窗口打开”。

无奈,找到如下解决办法:
1、对于分区在新窗口打开的情况
首先确保“浏览文件夹”选择的是“在同一窗口中打开每个文件夹”,并导入内容如下的Reg文件:


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell]

[HKEY_CLASSES_ROOT\Folder\shell\open]
"BrowserFlags"=dword:00000010
"ExplorerFlags"=dword:00000012
@="打开文件夹(&O)"

[HKEY_CLASSES_ROOT\Folder\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
65,00,20,00,2f,00,69,00,64,00,6c,00,69,00,73,00,74,00,2c,00,25,00,49,00,2c,\
00,25,00,4c,00,00,00

[HKEY_CLASSES_ROOT\Folder\shell\open\ddeexec]
@="[ViewFolder(\"%l\", %I, %S)]"
"NoActivateHandler"=""

[HKEY_CLASSES_ROOT\Folder\shell\open\ddeexec\application]
@="Folders"

[HKEY_CLASSES_ROOT\Folder\shell\open\ddeexec\ifexec]
@="[]"

[HKEY_CLASSES_ROOT\Folder\shell\open\ddeexec\topic]
@="AppProperties"

[-HKEY_CLASSES_ROOT\Drive\Shell]

2、对于文件夹在新窗口打开的情况
导入内容如下的Reg文件:

REGEDIT4

[HKEY_CLASSES_ROOT\Directory]
"InfoTip"="prop:DocComments"

[HKEY_CLASSES_ROOT\Directory\Background]

[HKEY_CLASSES_ROOT\Directory\Background\shellex]

[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\New]
@="{D969A300-E7FF-11d0-A93B-00A0C90F2719}"

[HKEY_CLASSES_ROOT\Directory\shell]
@="none"

[HKEY_CLASSES_ROOT\Directory\shell\find]
"SuppressionPolicy"=dword:00000080

[HKEY_CLASSES_ROOT\Directory\shell\find\ddeexec]
"NoActivateHandler"=""

[HKEY_CLASSES_ROOT\Directory\shellex]

[HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\EncryptionMenu]
@="{A470F8CF-A1E8-4f65-8335-227475AA5C46}"

[HKEY_CLASSES_ROOT\Directory\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\Directory\shellex\PropertySheetHandlers\{ef43ecfe-2ab9-4632-bf21-58909dd177f0}]
@=""

貌似OK。
不过右键搜索目前仍没有解决!

没有评论:

发表评论

愿与大家多交流分享。芸芸众生,相识即缘。。。 ^_^