双击文件夹在新窗口打开的解决方法

最近很多朋友都出现这个问题,双击驱动器或者文件夹会在新窗口中打开。
 
如果是设置错误的话,可以在文件夹的工具,文件夹选项中修改。在同一窗口中打开文件夹即可。
 
但是有些是因为手动在文件夹选项的文件类型中的驱动器和文件夹上新建了一个open的项。而每次双击都打开新文件夹。这就需要修改注册表了。

解决方法就是把线下面的代码保存到一个文本文档中,然后把文件后缀改为reg即可。文件名随便自己起,后缀是reg就行了。

******************************************************************************

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryshell]
@=”none”

[HKEY_CLASSES_ROOTDirectoryshell ind]
“SuppressionPolicy”=dword:00000080

[HKEY_CLASSES_ROOTDirectoryshell indcommand]
@=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,00,00

[HKEY_CLASSES_ROOTDirectoryshell indddeexec]
@=”[FindFolder(“%l”, %I)]”
“NoActivateHandler”=””

[HKEY_CLASSES_ROOTDirectoryshell indddeexecapplication]
@=”Folders”

[HKEY_CLASSES_ROOTDirectoryshell indddeexec opic]
@=”AppProperties”

[HKEY_CLASSES_ROOTDriveshell]
@=”none”

[HKEY_CLASSES_ROOTDriveshell ind]
“SuppressionPolicy”=dword:00000080

[HKEY_CLASSES_ROOTDriveshell indcommand]
@=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,00,00

[HKEY_CLASSES_ROOTDriveshell indddeexec]
@=”[FindFolder(“%l”, %I)]”
“NoActivateHandler”=””

[HKEY_CLASSES_ROOTDriveshell indddeexecapplication]
@=”Folders”

[HKEY_CLASSES_ROOTDriveshell indddeexec opic]
@=”AppProperties”

[HKEY_CLASSES_ROOTFoldershell]

[HKEY_CLASSES_ROOTFoldershellexplore]
“BrowserFlags”=dword:00000022
“ExplorerFlags”=dword:00000021

[HKEY_CLASSES_ROOTFoldershellexplorecommand]
@=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,65,00,2c,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_ROOTFoldershellexploreddeexec]
@=”[ExploreFolder(“%l”, %I, %S)]”
“NoActivateHandler”=””

[HKEY_CLASSES_ROOTFoldershellexploreddeexecapplication]
@=”Folders”

[HKEY_CLASSES_ROOTFoldershellexploreddeexecifexec]
@=”[]”

[HKEY_CLASSES_ROOTFoldershellexploreddeexec opic]
@=”AppProperties”

[HKEY_CLASSES_ROOTFoldershellopen]
“BrowserFlags”=dword:00000010
“ExplorerFlags”=dword:00000012

[HKEY_CLASSES_ROOTFoldershellopencommand]
@=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_ROOTFoldershellopenddeexec]
@=”[ViewFolder(“%l”, %I, %S)]”
“NoActivateHandler”=””

[HKEY_CLASSES_ROOTFoldershellopenddeexecapplication]
@=”Folders”

[HKEY_CLASSES_ROOTFoldershellopenddeexecifexec]
@=”[]”

[HKEY_CLASSES_ROOTFoldershellopenddeexec opic]
@=”AppProperties”

By | 2017-06-07T13:59:46+00:00 八月 22nd, 2007|blog, 技术|0 Comments

About the Author: