Answers:
尝试从MSDN中尝试这篇文章:如何在Windows中还原本机Zip文件集成。您只需从提升的(以管理员身份运行)命令提示符下执行此操作:
cmd /c assoc .zip=CompressedFolder
这在Windows 7中对我有用:
去掉
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.zip
HKEY_CLASSES_ROOT\.zip
cmd /c assoc .zip=CompressedFolder
最终结果:
[HKEY_CLASSES_ROOT\.zip]
@="CompressedFolder"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.zip]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.zip\OpenWithList]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.zip\OpenWithProgids]
"CompressedFolder"=hex(0):
最好的方法是尝试使用Open With...
上下文菜单将资源管理器设置为默认文件处理程序。
但是,如果这不起作用,则可以尝试以下方法来强制资源管理器处理ZIP文件。(此信息的来源)
使用以下命令制作一个.reg文件:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.zip]
"PerceivedType"="compressed"
"Content Type"="application/x-zip-compressed"
@="CompressedFolder"
[HKEY_CLASSES_ROOT\.zip\CompressedFolder]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.zip\UserChoice]
[HKEY_CLASSES_ROOT\.zip\CompressedFolder\ShellNew]
"Data"=hex:50,4b,05,06,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"ItemName"=hex(2):40,00,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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,7a,00,69,00,70,00,66,00,6c,00,64,00,72,00,2e,00,64,00,6c,00,6c,00,2c,00,\
2d,00,31,00,30,00,31,00,39,00,34,00,00,00
[HKEY_CLASSES_ROOT\.zip\OpenWithProgids]
"CompressedFolder"=""
[HKEY_CLASSES_ROOT\.zip\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\CompressedFolder]
@="Compressed (zipped) Folder"
"FriendlyTypeName"=hex(2):40,00,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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,7a,00,69,00,70,00,66,00,6c,00,64,00,72,00,2e,00,64,00,6c,00,6c,\
00,2c,00,2d,00,31,00,30,00,31,00,39,00,35,00,00,00
[HKEY_CLASSES_ROOT\CompressedFolder\CLSID]
@="{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}"
[HKEY_CLASSES_ROOT\CompressedFolder\DefaultIcon]
@=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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,7a,00,69,00,\
70,00,66,00,6c,00,64,00,72,00,2e,00,64,00,6c,00,6c,00,00,00
[HKEY_CLASSES_ROOT\CompressedFolder\shell]
@="none"
[HKEY_CLASSES_ROOT\CompressedFolder\shell\find]
"SuppressionPolicy"=dword:00000080
[HKEY_CLASSES_ROOT\CompressedFolder\shell\find\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,00,00
[HKEY_CLASSES_ROOT\CompressedFolder\shell\find\ddeexec]
@="[FindFolder(\"%l\", %I)]"
[HKEY_CLASSES_ROOT\CompressedFolder\shell\find\ddeexec\application]
@="Folders"
[HKEY_CLASSES_ROOT\CompressedFolder\shell\find\ddeexec\topic]
@="AppProperties"
[HKEY_CLASSES_ROOT\CompressedFolder\shell\Open]
[HKEY_CLASSES_ROOT\CompressedFolder\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
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
[HKEY_CLASSES_ROOT\CompressedFolder\ShellEx]
[HKEY_CLASSES_ROOT\CompressedFolder\ShellEx\ContextMenuHandlers]
[HKEY_CLASSES_ROOT\CompressedFolder\ShellEx\ContextMenuHandlers\{b8cdcb65-b1bf-4b42-9428-1dfdb7ee92af}]
@="Compressed (zipped) Folder Menu"
[HKEY_CLASSES_ROOT\CompressedFolder\ShellEx\DropHandler]
@="{ed9d80b9-d157-457b-9192-0e7280313bf0}"
[HKEY_CLASSES_ROOT\CompressedFolder\ShellEx\StorageHandler]
@="{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}"
然后,在管理员命令提示符下键入:
regsvr32 zipfldr.dll
我看到的另一项建议是直接进入“控制面板”中的“默认程序”编辑器,然后删除您当前拥有的关联。但是,这是针对XP的,我不确定它是否适用于Vista。但是,您可能需要尝试在注册表之前进行尝试。
最快的方法是获取任何.zip文件并右键单击它,然后转到“打开方式”,然后选择“选择默认程序”或“其他”,然后在此框中,您应该会看到“ Windows资源管理器”或所用的任何内容使用列出。
单击底部的“始终使用选定的程序来打开这种文件”按钮,然后双击要使用的程序。
然后,这应该在新的默认程序中打开ZIP文件。
如果此方法不起作用,我可以为您提供使用Explorer重新分配.zip的手动说明,但这是最快的方法。
regsvr32
先从我的回答开始执行步骤,如果不够,请使用此关联。