source Filetocompress.
destination Filenametogivecompressedfile.Ifomitted,the
lastcharacterofthesourcefilenameisreplaced
withanunderscore(_)andusedasthedestination.
/FdirectivesAfilewithMakeCABdirectives(mayberepeated).
/Dvar=value Definesvariablewithspecifiedvalue.
/Ldir Locationtoplacedestination(defaultiscurrentdirectory).
/V[n] Verbositylevel(1..3).
如果目录里面有多个文件,那么就需要编写一个文件列表文件,用来告诉MakeCAB,有多少文件需要打包。
简单的编写了一个list.txt文件,里面仅仅包含2行。一个是libactivex.inf,一个libactivex.dll
然后执行:
makecab/Flist.txt/Dcompressiontype=lzx/Dcompressionmemory=21/V
系统将显示压缩过程和压缩结果,如下:
Microsoft(R)CabinetMaker-Version5.1.2600.2180
Copyright(c)MicrosoftCorporation.Allrightsreserved..
287,395bytesin2files
Totalfiles: 2
Bytesbefore: 287,395
Bytesafter: 162,170
After/Before: 56.43%compression
Time: 0.74seconds(0hr0min0.74sec)
Throughput: 378.76Kb/second
压缩之后,目录下将生成一个目录,将目录里面的文件改名成libactivex.cab(可以是你需要的文件名)就OK了。
然后就可以放到WEB服务器的目录下,IE打开的时候就会提示下载了。
MAKECAB[/V[n]][/Dvar=value...][/Ldir]source[destination]
MAKECAB[/V[n]][/Dvar=value...]/Fdirective_file[...]马上金融来钱花贴吧
MakeCAB是微软提供的制作CAB的文件,详细的MakeCAB介绍请参考微软MSDN。
正好这几天做的一个WEBActiveXSIPPhone需要打包成.CAB文件,于是稍微研究了一下MakeCAB的用法。
直接运行MakeCAB,系统给出命令用法如下:
C:DocumentsandSettingsSunDesktopwebsipp>makecab
Microsoft(R)CabinetMaker-Version5.1.2600.2180
Copyright(c)MicrosoftCorporation.Allrightsreserved..
展开

那个手游可以赚钱
苹果老虎机怎么赚钱
传奇手游推广员挣钱
社保能不能提现
十元投资赚钱宝下载
传奇无双手游怎么赚钱
棋牌大全破解版
美团兼职软件叫什么
一手沥青期货能赚钱吗
日赚300的网络兼职真的
任务赚钱软件app下载
怎样挣钱
不推广也能赚钱的方法
首南大酒店棋牌
宝妈在家想兼职挣钱
好的网赚项目谁有
真正0投资赚钱的项目
手机派派怎么赚钱快
赚钱的儿童项目
小众赚钱副业