这是因为WinRAR没有单独做每个类型的图标,不管什么类型都一个图标。 可以自己写注册表关联,或用别人做好的图标包。 注册表的类似这种的(注:Windows8.1,同时安装有7zip): [ol]REGEDIT4 ;还原安装WinRAR后的部分文件类型图标: ;本文件适用于安装WinRAR(且同时安装7zip)且主用WinRAR情况, ;默认WinRAR关联zip、7z、iso等图标都一样,不便区分,修改图标关联如下: ; 1.zip-------------Windows默认:zipfldr.dll ; 2.7z--------------7zip默认:7z.dll ; 3.iso-------------Windows默认:imageres.dll,-5205 ;注:第一次双击文件时打开选择WinRAR关联图标,7z关联图标需安装7zip ;------------------------------------------------------------------------- [HKEY_CLASSES_ROOT\WinRAR.ZIP] @="ZIP 压缩文件" [HKEY_CLASSES_ROOT\WinRAR.ZIP\DefaultIcon] ;@="C:\\Program Files\\WinRAR\\WinRAR.exe,0" ;@="%SystemRoot%\\system32\\zipfldr.dll" @="C:\\Windows\\system32\\zipfldr.dll" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.zip\OpenWithProgids] "CompressedFolder"=hex(0): "WinRAR.ZIP"=hex(0): [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.zip\UserChoice] ;关联WinZip自解压程序中的【Run WinZip】到WinRAR ;注意旧版的自解压模块不支持长路径(或路径中带空格),需转换为短路径 ;程序目录 Program Files 的短路径一般为 PROGRA~1 ;64位下Program Files (x86)的短路径一般为 PROGRA~2 [HKEY_CLASSES_ROOT\WinZip\shell\open\command] @="\"C:\\PROGRA~1\\WinRAR\\WinRAR.exe\" \"%1\"" ;------------------------------------------------------------------------- [HKEY_CLASSES_ROOT\.7z] @="WinRAR.7z" [HKEY_CLASSES_ROOT\.001] @="WinRAR.7z" [HKEY_CLASSES_ROOT\WinRAR.7z] @="7z 压缩文件" [HKEY_CLASSES_ROOT\WinRAR.7z\DefaultIcon] @="C:\\Program Files\\7-Zip\\7z.dll,0" [HKEY_CLASSES_ROOT\WinRAR.7z\shell\open\command] @="\"C:\\Program Files\\WinRAR\\WinRAR.exe\" \"%1\"" [HKEY_CLASSES_ROOT\WinRAR.7z\shellex\ContextMenuHandlers] [HKEY_CLASSES_ROOT\WinRAR.7z\shellex\ContextMenuHandlers\{B41DB860-64E4-11D2-9906-E49FADC173CA}] @="" [HKEY_CLASSES_ROOT\WinRAR.7z\shellex\ContextMenuHandlers\{B41DB860-8EE4-11D2-9906-E49FADC173CA}] @="" ;[HKEY_CLASSES_ROOT\WinRAR.7z\shellex\DropHandler] ;@="{B41DB860-64E4-11D2-9906-E49FADC173CA}" [HKEY_CLASSES_ROOT\WinRAR.7z\shellex\PropertySheetHandlers] [HKEY_CLASSES_ROOT\WinRAR.7z\shellex\PropertySheetHandlers\{B41DB860-64E4-11D2-9906-E49FADC173CA}] @="" [HKEY_CLASSES_ROOT\WinRAR.7z\shellex\PropertySheetHandlers\{B41DB860-8EE4-11D2-9906-E49FADC173CA}] @="" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.7z\OpenWithProgids] ;"WinRAR"=hex(0): ;"7-Zip.7z"=hex(0): "WinRAR"=- "7-Zip.7z"=- "WinRAR.7z"=hex(0): [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.7z\UserChoice] ;------------------------------------------------------------------------- [HKEY_CLASSES_ROOT\.cab] @="WinRAR.cab" "PerceivedType"="compressed" [HKEY_CLASSES_ROOT\.cab\OpenWithProgids] "CABFolder"="" "WinRAR.cab"="" [HKEY_CLASSES_ROOT\.cab\PersistentHandler] @="{098f2470-bae0-11cd-b579-08002b30bfeb}" [HKEY_CLASSES_ROOT\WinRAR.cab] @="cab 压缩文件" [HKEY_CLASSES_ROOT\WinRAR.cab\DefaultIcon] @="C:\\Windows\\system32\\cabview.dll" [HKEY_CLASSES_ROOT\WinRAR.cab\shell\open\command] @="\"C:\\Program Files\\WinRAR\\WinRAR.exe\" \"%1\"" ;------------------------------------------------------------------------- [HKEY_CLASSES_ROOT\.iso] @="WinRAR.iso" [HKEY_CLASSES_ROOT\.iso\OpenWithProgids] ;"Windows.IsoFile"="" "WinRAR"=- "WinRAR.iso"="" [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.iso\UserChoice] [HKEY_CLASSES_ROOT\WinRAR.iso] @="光盘镜像文件" [HKEY_CLASSES_ROOT\WinRAR.iso\DefaultIcon] @="C:\\Windows\\system32\\imageres.dll,-5205" [HKEY_CLASSES_ROOT\WinRAR.iso\shell\open\command] @="\"C:\\Program Files\\WinRAR\\WinRAR.exe\" \"%1\"" [HKEY_CLASSES_ROOT\WinRAR.iso\shell\burn] ;刻录光盘映像:@%SystemRoot%\System32\isoburn.exe,-351 "MUIVerb"=hex(2):40,25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,53,79,73,74,65,6d,\ 33,32,5c,69,73,6f,62,75,72,6e,2e,65,78,65,2c,2d,33,35,31,00 [HKEY_CLASSES_ROOT\WinRAR.iso\shell\burn\command] ;%SystemRoot%\System32\isoburn.exe "%1" @=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,53,79,73,74,65,6d,33,32,5c,69,\ 73,6f,62,75,72,6e,2e,65,78,65,20,22,25,31,22,00 [HKEY_CLASSES_ROOT\WinRAR.iso\shell\mount] "ExplorerCommandHandler"="{9ab3b1c9-3225-4bb4-93b6-bfb3c0d93743}" "CommandStateSync"="" "MultiSelectModel"="Document" [HKEY_CLASSES_ROOT\WinRAR.iso\shell\mount\command] ;%SystemRoot%\Explorer.exe @=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,45,78,70,6c,6f,72,65,72,2e,65,\ 78,65,00 "DelegateExecute"="{9ab3b1c9-3225-4bb4-93b6-bfb3c0d93743}" [HKEY_CLASSES_ROOT\WinRAR.iso\shellex\ContextMenuHandlers] [HKEY_CLASSES_ROOT\WinRAR.iso\shellex\ContextMenuHandlers\{B41DB860-64E4-11D2-9906-E49FADC173CA}] @="" [HKEY_CLASSES_ROOT\WinRAR.iso\shellex\ContextMenuHandlers\{B41DB860-8EE4-11D2-9906-E49FADC173CA}] @="" ;[HKEY_CLASSES_ROOT\WinRAR.iso\shellex\DropHandler] ;@="{B41DB860-64E4-11D2-9906-E49FADC173CA}" [HKEY_CLASSES_ROOT\WinRAR.iso\shellex\PropertySheetHandlers] [HKEY_CLASSES_ROOT\WinRAR.iso\shellex\PropertySheetHandlers\{B41DB860-64E4-11D2-9906-E49FADC173CA}] @="" [HKEY_CLASSES_ROOT\WinRAR.iso\shellex\PropertySheetHandlers\{B41DB860-8EE4-11D2-9906-E49FADC173CA}] @="" ;------------------------------------------------------------------------- [/ol]复制代码