|
- rem 关联7z右键
- reg add "HKCU\Software\7-ZIP" /f /v "Lang" /t REG_SZ /d "zh-cn"
- reg add "HKCU\Software\7-ZIP\Compression" /f /v "Level" /t REG_DWORD /d 5
- reg add "HKCU\Software\7-ZIP\Compression" /f /v "Archiver" /t REG_SZ /d "7z"
- reg add "HKCU\Software\7-ZIP\Compression" /f /v "ShowPassword" /t REG_DWORD /d 0
- reg add "HKCU\Software\7-ZIP\Compression" /f /v "EncryptHeaders" /t REG_DWORD /d 0
- reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "Method" /t REG_SZ /d "LZMA"
- reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "Level" /t REG_DWORD /d 9
- reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "Dictionary" /t REG_DWORD /d 16777216
- reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "Order" /t REG_DWORD /d 64
- reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "BlockSize" /t REG_DWORD /d 32
- reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "NumThreads" /t REG_DWORD /d 1
- reg add "HKCU\Software\7-ZIP\Options" /f /v "CascadedMenu" /t REG_DWORD /d 1
- reg add "HKCU\Software\7-ZIP\Options" /f /v "ContextMenu" /t REG_DWORD /d 4887
- reg add "HKCU\Software\7-ZIP\Options" /f /v "WorkDirType" /t REG_DWORD /d 1
- reg add "HKCU\Software\7-ZIP\Options" /f /v "WorkDirPath" /t REG_SZ /d ""
- reg add "HKCU\Software\7-ZIP\Options" /f /v "TempRemovableOnly" /t REG_DWORD /d 0
- reg add "HKU\.DEFAULT\SessionInformation" /f /v "ProgramCount" /t REG_DWORD /d 4
- reg add "HKLM\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\7-ZIP" /f /ve /t REG_SZ /d "{23170F69-40C1-278A-1000-000100020000}"
- reg add "HKLM\SOFTWARE\Classes\CLSID\{23170F69-40C1-278A-1000-000100020000}" /f /ve /t REG_SZ /d "7-Zip Shell Extension"
- reg add "HKLM\SOFTWARE\Classes\CLSID\{23170F69-40C1-278A-1000-000100020000}\InprocServer32" /f /ve /t REG_SZ /d "X:\wxpe\system32\7-zip.dll"
- reg add "HKLM\SOFTWARE\Classes\CLSID\{23170F69-40C1-278A-1000-000100020000}\InprocServer32" /f /v "ThreadingModel" /t REG_SZ /d "Apartment"
- reg add "HKLM\SOFTWARE\Classes\Directory\shellex\DragDropHandlers\7-ZIP" /f /ve /t REG_SZ /d "{23170F69-40C1-278A-1000-000100020000}"
- reg add "HKLM\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\7-ZIP" /f /ve /t REG_SZ /d "{23170F69-40C1-278A-1000-000100020000}"
- reg add "HKLM\SOFTWARE\Classes\Drive\shellex\DragDropHandlers\7-ZIP" /f /ve /t REG_SZ /d "{23170F69-40C1-278A-1000-000100020000}"
- reg add "HKLM\SOFTWARE\Microsoft\Cryptography\RNG" /f /v "Seed" /t REG_BINARY /d ae980bee38a3f51bba1e2a2620869cd4140359f701aff4cc6d90c3dacb7a58e26176a8a8d517c1ca0a19aff67e65b7ea2580d530b236cc02f57234b8acc6629bfef9fece90743d5d47134f8a5e15d12b
复制代码
这是在论坛里找到的,不过右键有些项是多的,想去掉,见图
去掉哪些项会变成下面这样的?
还有,- reg add
- "HKLM\SOFTWARE\Classes\CLSID\{23170F69-40C1-278A-1000-000100020000}\InprocServer32"
- /f /ve /t REG_SZ /d "X:\wxpe\system32\7-zip.dll"
复制代码 这条里如果关联的是当前文件夹下的dll, 是不是将X:\wxpe\system32\7-Zip.dll改成%T%/7-Zip.dll就行了??? |
|