压缩成一个CAB包的办法: 
type list.txt (生成一个文件列表) 
makecab /f list.txt /d compressiontype=mszip /d compressionmemory=21 /d maxdisksize=1024000000 /d diskdirectorytemplate=dd* /d cabinetnametemplate=dd*.cab 
来个高压缩比的。呵 

makecab /f list.txt /d compressiontype=lzx /d compressionmemory=21 /d maxdisksize=1024000000 /d diskdirectorytemplate=dd* /d cabinetnametemplate=dd*.cab

这儿的list.txt里面是文件的列表,如果是相对路径那么要放到要压缩的文件夹中,如果是绝对路径就可以放到任何地方喽!

 

解压缩:

expand "c:\123.cab" "c:\" -f:*

 

参考了:http://xu020408.blog.163.com/blog/static/265489200932623437807/

相关文章:

  • 2021-11-17
  • 2022-02-09
  • 2021-12-02
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-01
  • 2022-12-23
  • 2021-07-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案