|
压缩文件我一般这样用(.inf 脚本):
- [Version]
- Signature="$CHICAGO$"
- [DefaultInstall]
- AddReg=添加注册表
- [添加注册表]
- HKCR,"*\shell\压缩为(.??&_)\command",,0x20000,"MakeCAB.exe /D CompressionType=LZX /D CompressionMemory=21 ""%%1"""
- HKCR,"txtfile\shell\压缩表(&F)\command",,0x20000,"MakeCAB.exe /D MaxDiskSize=1024000000 /D CompressionType=LZX /D CompressionMemory=21 /F ""%%1"""
- HKCR,"*\shell\解压缩(.??&_)\command",,0x20000,"Expand.exe -r ""%%1"""
复制代码 |
|