无忧启动论坛

标题: 关于注册7Z右键菜单的问题... [打印本页]

作者: 邪恶海盗    时间: 2011-7-17 20:09
标题: 关于注册7Z右键菜单的问题...
  1. rem 关联7z右键
  2. reg add "HKCU\Software\7-ZIP" /f /v "Lang" /t REG_SZ /d "zh-cn"
  3. reg add "HKCU\Software\7-ZIP\Compression" /f /v "Level" /t REG_DWORD /d 5
  4. reg add "HKCU\Software\7-ZIP\Compression" /f /v "Archiver" /t REG_SZ /d "7z"
  5. reg add "HKCU\Software\7-ZIP\Compression" /f /v "ShowPassword" /t REG_DWORD /d 0
  6. reg add "HKCU\Software\7-ZIP\Compression" /f /v "EncryptHeaders" /t REG_DWORD /d 0
  7. reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "Method" /t REG_SZ /d "LZMA"
  8. reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "Level" /t REG_DWORD /d 9
  9. reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "Dictionary" /t REG_DWORD /d 16777216
  10. reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "Order" /t REG_DWORD /d 64
  11. reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "BlockSize" /t REG_DWORD /d 32
  12. reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "NumThreads" /t REG_DWORD /d 1
  13. reg add "HKCU\Software\7-ZIP\Options" /f /v "CascadedMenu" /t REG_DWORD /d 1
  14. reg add "HKCU\Software\7-ZIP\Options" /f /v "ContextMenu" /t REG_DWORD /d 4887
  15. reg add "HKCU\Software\7-ZIP\Options" /f /v "WorkDirType" /t REG_DWORD /d 1
  16. reg add "HKCU\Software\7-ZIP\Options" /f /v "WorkDirPath" /t REG_SZ /d ""
  17. reg add "HKCU\Software\7-ZIP\Options" /f /v "TempRemovableOnly" /t REG_DWORD /d 0
  18. reg add "HKU\.DEFAULT\SessionInformation" /f /v "ProgramCount" /t REG_DWORD /d 4
  19. reg add "HKLM\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\7-ZIP" /f /ve /t REG_SZ /d "{23170F69-40C1-278A-1000-000100020000}"
  20. reg add "HKLM\SOFTWARE\Classes\CLSID\{23170F69-40C1-278A-1000-000100020000}" /f /ve /t REG_SZ /d "7-Zip Shell Extension"
  21. reg add "HKLM\SOFTWARE\Classes\CLSID\{23170F69-40C1-278A-1000-000100020000}\InprocServer32" /f /ve /t REG_SZ /d "X:\wxpe\system32\7-zip.dll"
  22. reg add "HKLM\SOFTWARE\Classes\CLSID\{23170F69-40C1-278A-1000-000100020000}\InprocServer32" /f /v "ThreadingModel" /t REG_SZ /d "Apartment"
  23. reg add "HKLM\SOFTWARE\Classes\Directory\shellex\DragDropHandlers\7-ZIP" /f /ve /t REG_SZ /d "{23170F69-40C1-278A-1000-000100020000}"
  24. reg add "HKLM\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\7-ZIP" /f /ve /t REG_SZ /d "{23170F69-40C1-278A-1000-000100020000}"
  25. reg add "HKLM\SOFTWARE\Classes\Drive\shellex\DragDropHandlers\7-ZIP" /f /ve /t REG_SZ /d "{23170F69-40C1-278A-1000-000100020000}"
  26. reg add "HKLM\SOFTWARE\Microsoft\Cryptography\RNG" /f /v "Seed" /t REG_BINARY /d ae980bee38a3f51bba1e2a2620869cd4140359f701aff4cc6d90c3dacb7a58e26176a8a8d517c1ca0a19aff67e65b7ea2580d530b236cc02f57234b8acc6629bfef9fece90743d5d47134f8a5e15d12b
复制代码


这是在论坛里找到的,不过右键有些项是多的,想去掉,见图
去掉哪些项会变成下面这样的?

还有,
  1. reg add
  2. "HKLM\SOFTWARE\Classes\CLSID\{23170F69-40C1-278A-1000-000100020000}\InprocServer32"
  3. /f /ve /t REG_SZ /d "X:\wxpe\system32\7-zip.dll"
复制代码
这条里如果关联的是当前文件夹下的dll, 是不是将X:\wxpe\system32\7-Zip.dll改成%T%/7-Zip.dll就行了???
作者: slore    时间: 2011-7-18 12:38
reg add "HKCU\Software\7-ZIP\Options" /f /v "ContextMenu" /t REG_DWORD /d 4983
作者: 邪恶海盗    时间: 2011-7-18 12:46
原帖由 slore 于 2011-7-18 12:38 发表
reg add "HKCU\Software\7-ZIP\Options" /f /v "ContextMenu" /t REG_DWORD /d 4983



嘛意思????
作者: yjd    时间: 2011-7-18 19:49
嘛意思????

左下角--开始--运行--cmd --输入reg /?

再不懂先去问google呵呵
作者: 2011ChenDg2011    时间: 2011-8-12 08:36
标题: 注意最后的数字(十进制)
"HKU\.DEFAULT\Software\7-ZIP\Options" /f /v "ContextMenu" /t REG_DWORD /d 805
其中最后的数值为:4919显示全部右键菜单.807显示ZIP项,805显示主要项.缺少此项将全部显示.
运行7zFM.EXE,根据需要设定好所需菜单项,然后在注册表中去找到上述注册表对应的项,再将SYSTEM21\CONFIG\DEFAULT加载到注册表,修改相应的值.如果是在*.CMD 文件中加载,直接改其数值即可.CMD文件修改后需重建重启才有效.




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3