介绍 |
系统自带的MakeCAB.exe是微软提供的制作CAB的文件,makecab.exe是cab压缩解压程序  修复MakeCAB.exe文件 第一步: 下载makecab.exe错误修复软件。 第二步: 点击保存或打开程序,完成安装程序。 第三步: 点击"一键云查杀"扫描你的电脑。 第四步: 点击"立即处理"按钮修复电脑错误或者病毒,加快计算机。 命令用法 直接运行MakeCAB,系统给出命令用法如下: C:Documents and SettingsSunDesktopwebsipp>makecab Microsoft (R) Cabinet Maker - Version 5.1.2600.2180 Copyright (c) Microsoft Corporation. All rights reserved.. MAKECAB [/V[n]] [/D var=value ...] [/L dir] source [destination] MAKECAB [/V[n]] [/D var=value ...] /F directive_file [...] source File to compress. destination File name to give compressed file. If omitted, the last character of the source file name is replaced with an underscore (_) and used as the destination. /F directives A file with MakeCAB directives (may be repeated). /D var=value Defines variable with specified value. /L dir Location to place destination (default is current directory). /V[n] Verbosity level (1..3). 如果目录里面有多个文件,那么就需要编写一个文件列表文件,用来告诉MakeCAB,有多少文件需要打包。简单的编写了一个list.txt文件,里面仅仅包含2行。一个是libactivex.inf,一个libactivex.dll然后执行:makecab /F list.txt /D compressiontype=lzx /D compressionmemory=21 /V用法: makecab 文件完整的名称 如 makecab wmd.dll指定压缩类型及使用内存的大小:makecab /d compressiontype=lzx /d compressionmemory=21 wmd.dll 压缩比高批量压缩的办法:for %v in (*.*) do makecab %v目录里多个文件时,需要一个文件列表文件,用来告诉MakeCAB,有多少文件需要打包(这是仅包含2行,一个是libactivex.inf,一个libactivex.dll) |