找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 142|回复: 12

[求助] winrar怎么实现不同格式的压缩文件用不同的图标?

[复制链接]
发表于 2 小时前 | 显示全部楼层 |阅读模式
是要换皮肤吗?
发表于 2 小时前 | 显示全部楼层
没研究过这个
回复

使用道具 举报

发表于 2 小时前 | 显示全部楼层
如果实现了,也挺好 的
回复

使用道具 举报

发表于 2 小时前 | 显示全部楼层
感谢分享
回复

使用道具 举报

发表于 1 小时前 | 显示全部楼层
可以先问下AI
回复

使用道具 举报

发表于 1 小时前 | 显示全部楼层
任意一个解压缩软件的主题包打开,编辑自己想要的图标文件进去。
1.png
回复

使用道具 举报

发表于 1 小时前 | 显示全部楼层

这是因为WinRAR没有单独做每个类型的图标,不管什么类型都一个图标。
可以自己写注册表关联,或用别人做好的图标包。

注册表的类似这种的(注:Windows8.1,同时安装有7zip):
  1. REGEDIT4
  2. ;还原安装WinRAR后的部分文件类型图标:
  3. ;本文件适用于安装WinRAR(且同时安装7zip)且主用WinRAR情况,
  4. ;默认WinRAR关联zip、7z、iso等图标都一样,不便区分,修改图标关联如下:
  5. ;    1.zip-------------Windows默认:zipfldr.dll
  6. ;    2.7z--------------7zip默认:7z.dll
  7. ;    3.iso-------------Windows默认:imageres.dll,-5205
  8. ;注:第一次双击文件时打开选择WinRAR关联图标,7z关联图标需安装7zip
  9. ;-------------------------------------------------------------------------
  10. [HKEY_CLASSES_ROOT\WinRAR.ZIP]
  11. @="ZIP 压缩文件"
  12. [HKEY_CLASSES_ROOT\WinRAR.ZIP\DefaultIcon]
  13. ;@="C:\\Program Files\\WinRAR\\WinRAR.exe,0"
  14. ;@="%SystemRoot%\\system32\\zipfldr.dll"
  15. @="C:\\Windows\\system32\\zipfldr.dll"

  16. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.zip\OpenWithProgids]
  17. "CompressedFolder"=hex(0):
  18. "WinRAR.ZIP"=hex(0):
  19. [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.zip\UserChoice]

  20. ;关联WinZip自解压程序中的【Run WinZip】到WinRAR
  21. ;注意旧版的自解压模块不支持长路径(或路径中带空格),需转换为短路径
  22. ;程序目录 Program Files 的短路径一般为 PROGRA~1
  23. ;64位下Program Files (x86)的短路径一般为 PROGRA~2
  24. [HKEY_CLASSES_ROOT\WinZip\shell\open\command]
  25. @="\"C:\\PROGRA~1\\WinRAR\\WinRAR.exe\" \"%1\""
  26. ;-------------------------------------------------------------------------
  27. [HKEY_CLASSES_ROOT\.7z]
  28. @="WinRAR.7z"
  29. [HKEY_CLASSES_ROOT\.001]
  30. @="WinRAR.7z"
  31. [HKEY_CLASSES_ROOT\WinRAR.7z]
  32. @="7z 压缩文件"
  33. [HKEY_CLASSES_ROOT\WinRAR.7z\DefaultIcon]
  34. @="C:\\Program Files\\7-Zip\\7z.dll,0"
  35. [HKEY_CLASSES_ROOT\WinRAR.7z\shell\open\command]
  36. @="\"C:\\Program Files\\WinRAR\\WinRAR.exe\" \"%1\""

  37. [HKEY_CLASSES_ROOT\WinRAR.7z\shellex\ContextMenuHandlers]
  38. [HKEY_CLASSES_ROOT\WinRAR.7z\shellex\ContextMenuHandlers\{B41DB860-64E4-11D2-9906-E49FADC173CA}]
  39. @=""
  40. [HKEY_CLASSES_ROOT\WinRAR.7z\shellex\ContextMenuHandlers\{B41DB860-8EE4-11D2-9906-E49FADC173CA}]
  41. @=""

  42. ;[HKEY_CLASSES_ROOT\WinRAR.7z\shellex\DropHandler]
  43. ;@="{B41DB860-64E4-11D2-9906-E49FADC173CA}"
  44. [HKEY_CLASSES_ROOT\WinRAR.7z\shellex\PropertySheetHandlers]
  45. [HKEY_CLASSES_ROOT\WinRAR.7z\shellex\PropertySheetHandlers\{B41DB860-64E4-11D2-9906-E49FADC173CA}]
  46. @=""
  47. [HKEY_CLASSES_ROOT\WinRAR.7z\shellex\PropertySheetHandlers\{B41DB860-8EE4-11D2-9906-E49FADC173CA}]
  48. @=""

  49. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.7z\OpenWithProgids]
  50. ;"WinRAR"=hex(0):
  51. ;"7-Zip.7z"=hex(0):
  52. "WinRAR"=-
  53. "7-Zip.7z"=-
  54. "WinRAR.7z"=hex(0):
  55. [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.7z\UserChoice]
  56. ;-------------------------------------------------------------------------
  57. [HKEY_CLASSES_ROOT\.cab]
  58. @="WinRAR.cab"
  59. "PerceivedType"="compressed"
  60. [HKEY_CLASSES_ROOT\.cab\OpenWithProgids]
  61. "CABFolder"=""
  62. "WinRAR.cab"=""
  63. [HKEY_CLASSES_ROOT\.cab\PersistentHandler]
  64. @="{098f2470-bae0-11cd-b579-08002b30bfeb}"

  65. [HKEY_CLASSES_ROOT\WinRAR.cab]
  66. @="cab 压缩文件"
  67. [HKEY_CLASSES_ROOT\WinRAR.cab\DefaultIcon]
  68. @="C:\\Windows\\system32\\cabview.dll"
  69. [HKEY_CLASSES_ROOT\WinRAR.cab\shell\open\command]
  70. @="\"C:\\Program Files\\WinRAR\\WinRAR.exe\" \"%1\""
  71. ;-------------------------------------------------------------------------
  72. [HKEY_CLASSES_ROOT\.iso]
  73. @="WinRAR.iso"
  74. [HKEY_CLASSES_ROOT\.iso\OpenWithProgids]
  75. ;"Windows.IsoFile"=""
  76. "WinRAR"=-
  77. "WinRAR.iso"=""
  78. [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.iso\UserChoice]

  79. [HKEY_CLASSES_ROOT\WinRAR.iso]
  80. @="光盘镜像文件"
  81. [HKEY_CLASSES_ROOT\WinRAR.iso\DefaultIcon]
  82. @="C:\\Windows\\system32\\imageres.dll,-5205"
  83. [HKEY_CLASSES_ROOT\WinRAR.iso\shell\open\command]
  84. @="\"C:\\Program Files\\WinRAR\\WinRAR.exe\" \"%1\""

  85. [HKEY_CLASSES_ROOT\WinRAR.iso\shell\burn]
  86. ;刻录光盘映像:@%SystemRoot%\System32\isoburn.exe,-351
  87. "MUIVerb"=hex(2):40,25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,53,79,73,74,65,6d,\
  88.   33,32,5c,69,73,6f,62,75,72,6e,2e,65,78,65,2c,2d,33,35,31,00
  89. [HKEY_CLASSES_ROOT\WinRAR.iso\shell\burn\command]
  90. ;%SystemRoot%\System32\isoburn.exe "%1"
  91. @=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,\
  92.   73,6f,62,75,72,6e,2e,65,78,65,20,22,25,31,22,00

  93. [HKEY_CLASSES_ROOT\WinRAR.iso\shell\mount]
  94. "ExplorerCommandHandler"="{9ab3b1c9-3225-4bb4-93b6-bfb3c0d93743}"
  95. "CommandStateSync"=""
  96. "MultiSelectModel"="Document"
  97. [HKEY_CLASSES_ROOT\WinRAR.iso\shell\mount\command]
  98. ;%SystemRoot%\Explorer.exe
  99. @=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,\
  100.   78,65,00
  101. "DelegateExecute"="{9ab3b1c9-3225-4bb4-93b6-bfb3c0d93743}"

  102. [HKEY_CLASSES_ROOT\WinRAR.iso\shellex\ContextMenuHandlers]
  103. [HKEY_CLASSES_ROOT\WinRAR.iso\shellex\ContextMenuHandlers\{B41DB860-64E4-11D2-9906-E49FADC173CA}]
  104. @=""
  105. [HKEY_CLASSES_ROOT\WinRAR.iso\shellex\ContextMenuHandlers\{B41DB860-8EE4-11D2-9906-E49FADC173CA}]
  106. @=""

  107. ;[HKEY_CLASSES_ROOT\WinRAR.iso\shellex\DropHandler]
  108. ;@="{B41DB860-64E4-11D2-9906-E49FADC173CA}"
  109. [HKEY_CLASSES_ROOT\WinRAR.iso\shellex\PropertySheetHandlers]
  110. [HKEY_CLASSES_ROOT\WinRAR.iso\shellex\PropertySheetHandlers\{B41DB860-64E4-11D2-9906-E49FADC173CA}]
  111. @=""
  112. [HKEY_CLASSES_ROOT\WinRAR.iso\shellex\PropertySheetHandlers\{B41DB860-8EE4-11D2-9906-E49FADC173CA}]
  113. @=""
  114. ;-------------------------------------------------------------------------
复制代码



回复

使用道具 举报

发表于 1 小时前 | 显示全部楼层
不同格式在注册表里有不同的关联啊。
回复

使用道具 举报

发表于 1 小时前 | 显示全部楼层
Winrar,能不能批量压缩文件?
回复

使用道具 举报

发表于 半小时前 | 显示全部楼层
左岸麦田 发表于 2026-5-27 14:33
Winrar,能不能批量压缩文件?

哪个压缩软件都没这功能
回复

使用道具 举报

发表于 半小时前 | 显示全部楼层
折腾这个有必要吗
回复

使用道具 举报

发表于 24 分钟前 | 显示全部楼层
7楼真强大,还真能实现啊
回复

使用道具 举报

发表于 15 分钟前 | 显示全部楼层
不同格式的后缀名关联不同的图标,是不是可以实现?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1|闽公网安备35020302032614号 )

GMT+8, 2026-5-27 15:35

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表