この1,2年で悩んでいたことを解決させたので、共有します。
背景
いつの間にか、Windows標準のZipフォルダ機能が使えなくなっていました。>< 直し方がわからなくて放置していたんですが、なんと今日ついに解決しました!環境
- Windows 7
この方法はレジストリを編集しますので、作業については自己責任でお願いします。
手順
①既存のキー削除
HKEY_CLASSES_ROOT\.zip
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.zip
上記2箇所を変えるのが確実ですが、おそらくおかしいのはどちらか一方だと思います。
②レジストリ適用
その後、 以下のレジストリを適用します。
HKEY_CLASSES_ROOT_CompressedFolder.reg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[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] | |
[HKEY_CLASSES_ROOT\CompressedFolder\shell\find] | |
"LegacyDisable"="" | |
"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 | |
"DelegateExecute"="{a015411a-f97d-4ef3-8425-8a38d022aebc}" | |
[HKEY_CLASSES_ROOT\CompressedFolder\shell\Open] | |
"MultiSelectModel"="Document" | |
[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}" |
HKEY_CLASSES_ROOT_zip.reg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_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}" |
この後、再起動します。
参考リンク:
ZIP ファイルの関連付けの設定を初期化したい
http://pasofaq.jp/windows/mycomputer/initzip.htm