makecab 打包文件夹压缩生成的文件在哪

Microsoft (R) Cabinet Maker - Version 5.1.
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压缩成高压缩比的文件
/D CompressionType=LZX /D CompressionMemory=21
这两个参数后的压缩比,是非常高的,已经超过了 WinZIP 的最高压缩比,比 WinRAR 的最高压缩比仅仅查一点点而已
阅读(...) 评论()makecab压缩文件夹|makecab gui(cab压缩工具) v1.4.173 中文绿色版 - 软件下载 - 绿茶软件园|
&&&&&&&&&&&&makecab gui(cab压缩工具) v1.4.173 中文绿色版
makecab gui(cab压缩工具) v1.4.173 中文绿色版
软件大小:112KB
软件语言:简体中文
软件授权:绿色版
软件类别:压缩解压
软件等级:
更新时间:
官方网站:
应用平台:/WinXP/|Win7|/Vista/|Win8
makecab gui(cab压缩工具)简体中文版是一款简单小巧的压缩工具,支持文件、文件夹添加及直接拖放,生成包含目录结构的 CAB 压缩包。makecab gui(cab压缩工具)使用 Windows 系统的 MakeCab 支持完成文件压缩,输出压缩包不需要其他程序可被系统直接打开,压缩率也和 WinRAR 大致相近。
makecab gui(cab压缩工具)软件功能:
1、创建 CAB 压缩包,并支持目录结构
2、支持多文件或文件夹直接拖放到界面添加,或使用菜单添加功能
3、支持命令方式文件或目录添加,可被用于右键菜单支持
4、简约至上
5、免费软件、绿色软件
makecab gui(cab压缩工具) 1.4.173 更新日志:
+ 增加:新的软件图标,支持大图标显示
+ 增加:使用系统状态栏
* 升级:核心控制引擎,精简软件体积
* 修正:释放文件取消后菜单状态无法还原的问题
* 修正:文件大小识别问题
压缩软件大全
本站为大家提供压缩软件官方下载。压缩软件哪个好?现今压缩软件十分丰富,网友们一定在纠结用哪个比较好,压缩速度比较快。绿茶小编为大家整理收集了一些免费压缩软件下载。。
makecab gui(cab压缩工具)&v1.4.173 中文绿色版
本类推荐本类排行
热门软件热门标签如何用makecab命令打包文件夹?_百度知道
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。
如何用makecab命令打包文件夹?
只会用makecab来压缩文件,但也看过CAB里有文件夹的,不知道是如何放进去的?该如何操作?
我有更好的答案
SUPPORT用cabarc.exe可以压缩目录并保持目录结构.CAB里面;SUPPORT\TOOLS&#92:专业版的XP光盘里带cabarc.exe,它在&#92
makecab一般只支持单文件压缩,如果需要创建完全兼容于微软MS-zip格式的CAB压缩文件,可以使用PowerArchiver来压缩,压缩算法选择MS-zip。
那么是不是说只借助WINDOWS的makecab命令是不能打包文件夹?
为您推荐:
其他类似问题
makecab的相关知识
等待您来回答Makecab压缩文件与目录
MakeCAB是微软提供的制作CAB的文件,详细的MakeCAB介绍请参考微软MSDN。系统给出命令用法如下:
Microsoft (R) Cabinet Maker - Version (32) 1.00.0601
(03/18/97)
Copyright (c) Microsoft Corp . 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
& /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
系统将显示压缩过程和压缩结果,如下:
Microsoft (R) Cabinet Maker - Version 5.1.
Copyright (c) Microsoft Corporation. All rights reserved..
287,395 bytes in 2 files
files:&&&&&&&&&&&&&
Bytes before:&&&&&
after:&&&&&&&
After/Before:&&&&&&&&&&&
56.43% compression
Time:&&&&&&&&&&&&&&&&&&&
0.74 seconds ( 0 hr 0 min 0.74 sec)
Throughput:&&&&&&&&&&&
378.76 Kb/second
压缩之后,目录下将生成一个目录,将目录里面的文件改名成libactivex.cab(可以是你需要的文件名)就OK了。
然后就可以放到WEB服务器的目录下,IE打开的时候就会提示下载了。
附:INF的生成方法将在以后介绍。
其实,还有2个办法生成CAB文件,一个就是利用Visual
Studio,另外一个就是利用专门的打包工具,可以google一下。
makecab 的使用方法详解与技巧 :
最简单的用法:
makecab 文件完整的名称 如 makecab wmd.dll
指定压缩类型及使用内存的大小:
makecab /d compressiontype=lzx /d compressionmemory=21 wmd.dll
批量压缩的办法:
for %v in (*.*) do makecab %v
之前俺研究了好久,都不知道怎么用一条命令将一个目录下的所有文件压缩成CAB包,现在终于知道了,压缩成一个CAB包的办法:
makecab /f list.txt /d compressiontype=mszip /d
compressionmemory=21 /d maxdisksize= /d
diskdirectorytemplate=dd* /d cabinetnametemplate=dd*.cab
来个高压缩比的:
makecab /f list.txt /d compressiontype=lzx /d compressionmemory=21
/d maxdisksize= /d diskdirectorytemplate=dd* /d
cabinetnametemplate=dd*.cab
这儿的list.txt里面是文件的列表,如果是相对路径那么要放到要压缩的文件夹中,如果是绝对路径就可以放到任何地方喽
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

我要回帖

更多关于 java生成压缩文件 的文章

 

随机推荐