找回密码
 立即注册→加入我们

QQ登录

只需一步,快速开始

搜索
热搜: 下载 VB C 实现 编写
查看: 3553|回复: 2

【压缩】7z压缩解压工具以及控制台程序下载

[复制链接]

1110

主题

1651

回帖

7万

积分

用户组: 管理员

一只技术宅

UID
1
精华
244
威望
743 点
宅币
24217 个
贡献
46222 次
宅之契约
0 份
在线时间
2296 小时
注册时间
2014-1-26
发表于 2014-3-5 16:44:47 | 显示全部楼层 |阅读模式

欢迎访问技术宅的结界,请注册或者登录吧。

您需要 登录 才可以下载或查看,没有账号?立即注册→加入我们

×


7z的中文官方主页:http://sparanoid.com/lab/7z/7z的英文官方主页:http://www.7-zip.org/
7z是目前已知的压缩比最高的压缩格式。实验证明它的压缩比超过了设置为“最好”压缩的WinRAR“固实压缩包”。但是WinRAR压缩和解压都比7z快。因此大家可以选择一下。
不过放心,WinRAR能解压7z的压缩包。不知道7z能不能解压WinRAR的压缩包。以下的四个链接是9.20稳定版
7z安装包32位下载:http://nchc.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920.exe
论坛备份下载:http://pan.baidu.com/s/1ntHNuPV
7z安装包64位下载:http://nchc.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920-x64.msi
论坛备份下载:http://pan.baidu.com/s/1bnvNaPL

7z是开源的。源码下载页:
游客,如果您要查看本帖隐藏内容请回复
9.20稳定版源码下载:
游客,如果您要查看本帖隐藏内容请回复
如果不想安装整个7z,只需要一个7z的控制台程序,我这也提供下载。版本:9.20
32位: 7z32.exe (599.32 KB, 下载次数: 3)
64位: 7z64.exe (277.5 KB, 下载次数: 3)
下载下来重命名为7z.exe放到C:\Windows下
然后就能直接用CMD召唤7z运行了。很方便的。常用的命令有a、e
举例:把1.txt 2.bmp 3.exe压缩到4.7z里面:
7z a 4.7z 1.txt 2.bmp 3.exe
举例:解压4.7z
7z e 4.7z
以下是7z的详细命令参数。
7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18

Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...]
       [<@listfiles...>]

<Commands>
  a: Add files to archive
  b: Benchmark
  d: Delete files from archive
  e: Extract files from archive (without using directory names)
  l: List contents of archive
  t: Test integrity of archive
  u: Update files to archive
  x: eXtract files with full paths
<Switches>
  -ai[r[-|0]]{@listfile|!wildcard}: Include archives
  -ax[r[-|0]]{@listfile|!wildcard}: eXclude archives
  -bd: Disable percentage indicator
  -i[r[-|0]]{@listfile|!wildcard}: Include filenames
  -m{Parameters}: set compression Method
  -o{Directory}: set Output directory
  -p{Password}: set Password
  -r[-|0]: Recurse subdirectories
  -scs{UTF-8 | WIN | DOS}: set charset for list files
  -sfx[{name}]: Create SFX archive
  -si[{name}]: read data from stdin
  -slt: show technical information for l (List) command
  -so: write data to stdout
  -ssc[-]: set sensitive case mode
  -ssw: compress shared files
  -t{Type}: Set type of archive
  -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
  -v{Size}[b|k|m|g]: Create volumes
  -w[{path}]: assign Work directory. Empty path means a temporary directory
  -x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames
  -y: assume Yes on all queries
回复

使用道具 举报

0

主题

5

回帖

54

积分

用户组: 小·技术宅

UID
119
精华
0
威望
2 点
宅币
45 个
贡献
0 次
宅之契约
0 份
在线时间
4 小时
注册时间
2014-3-12
发表于 2014-3-17 01:06:33 | 显示全部楼层
谢谢大大 抱走了哈
回复 赞! 靠!

使用道具 举报

0

主题

1

回帖

8

积分

用户组: 初·技术宅

UID
2004
精华
0
威望
1 点
宅币
5 个
贡献
0 次
宅之契约
0 份
在线时间
0 小时
注册时间
2016-10-13
发表于 2016-10-13 16:48:53 | 显示全部楼层
谢谢楼主分享,学习了
回复 赞! 靠!

使用道具 举报

QQ|Archiver|小黑屋|技术宅的结界 ( 滇ICP备16008837号 )|网站地图

GMT+8, 2024-4-17 04:25 , Processed in 0.043210 second(s), 34 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表