Simple example to add files to CAB archive

坚强是说给别人听的谎言 提交于 2019-12-23 16:46:55

问题


I read this post about replacement of CABARC utility. Microsoft help is covering a lot of options in here.

I need simple example how to add 2 files to CAB using makecab.exe utility.

Something like this.

makeCAB.exe file1.dll file2.INF result.cab

回答1:


  1. Create Directive file CABMaker.ddf

    ;*** MAKECAB Directive file .Set Cabinet=on .Set Compress=on file1.dll
    file2.INF

  2. Run C:\WINDOWS\system32\makecab.exe /F CABMaker.ddf


来源:https://stackoverflow.com/questions/24367099/simple-example-to-add-files-to-cab-archive

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!