极速PE官网 > 最新动态 >

奈何为WinPE增进速速压缩/解压成果

作者:pe系统 2014-12-18

奈何为WinPE增进速速压缩/解压成果 2014-12-18

压缩软件7-Zip是一款GNU/LPGL协议下分发的免费软件,可以说是今朝最有但愿成为zip、rar之后的下一个主流压缩名目标文件压缩名目了。下面我们就来看看怎样把为pe增进7z右键成果,虽然要领也许有很多种,下面只先容个中的一种要领以供参考。

起首把7z.exe、7z.dll、7-zip.dll、7zG.exe四个文件拷贝到system32文件夹下。
然后在REGDOC.CMD(也有也许是此外名字,可能没有)中插手如下句子:
rem 关联7z
reg add "HKU\.DEFAULT\Software\7-ZIP" /f /v "Lang" /t REG_SZ /d "zh-cn"
reg add "HKU\.DEFAULT\SessionInformation" /f /v "ProgramCount" /t REG_DWORD /d 4
reg add "HKU\.DEFAULT\Software\7-ZIP\Compression\Options\7z" /f /v "Method" /t REG_SZ /d "LZMA"
reg add "HKU\.DEFAULT\Software\7-ZIP\Compression\Options\7z" /f /v "Level" /t REG_DWORD /d 9
reg add "HKU\.DEFAULT\Software\7-ZIP\Compression\Options\7z" /f /v "Dictionary" /t REG_DWORD /d 33554432
reg add "HKU\.DEFAULT\Software\7-ZIP\Compression\Options\7z" /f /v "Order" /t REG_DWORD /d 64
reg add "HKU\.DEFAULT\Software\7-ZIP\Compression\Options\7z" /f /v "BlockSize" /t REG_DWORD /d 32
reg add "HKU\.DEFAULT\Software\7-ZIP\Compression\Options\7z" /f /v "NumThreads" /t REG_DWORD /d 1
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 "HKU\.DEFAULT\Software\7-ZIP\Options" /f /v "CascadedMenu" /t REG_DWORD /d 1
reg add "HKU\.DEFAULT\Software\7-ZIP\Options" /f /v "ContextMenu" /t REG_DWORD /d 256
reg add "HKU\.DEFAULT\Software\7-ZIP\Options" /f /v "WorkDirType" /t REG_DWORD /d 0
reg add "HKU\.DEFAULT\Software\7-ZIP\Options" /f /v "WorkDirPath" /t REG_SZ /d ""
reg add "HKU\.DEFAULT\Software\7-ZIP\Options" /f /v "TempRemovableOnly" /t REG_DWORD /d 1
reg add "HKLM\SOFTWARE\Microsoft\Cryptography\RNG" /f /v "Seed" /t REG_BINARY /d ae980bee38a3f51bba1e2a2620869cd4140359f701aff4cc6d90c3dacb7a58e26176a8a8d517c1ca0a19aff67e65b7ea2580d530b236cc02f57234b8acc6629bfef9fece90743d5d47134f8a5e15d12b


这样就大功告成了。