DOS下的优秀压缩软件AIN
要数DOS下最出名的压缩软件,PKZIP、ARJ和RAR要算是三甲,PKZIP最经典,压缩率不高但快;ARJ压缩率高,功能强劲,但速度稍慢;而RAR是后起之秀,压缩率和速度约在前两者之间,不过窗口式的操作界面非常方便。
不过在三甲之外不乏优秀者。我就最喜欢AIN,AIN是一个压缩高比ARJ高,速度比PKZIP还快的优秀压缩工具,加上AIN的主程序体积极少,主程序仅36K,远小于前三都,如果你只是自己用压缩工具作备份,AIN绝对是首选.
AIN的用法与ARJ,RAR,LHARC等基本一样,如果你用过它们任何一款,就无须再学习。
AIN的参数解释如下:
语法:
AIN
a: 增加,向压缩档中加入文件
d: 删除,从压缩档中删除指定文件
e: 展开,将压缩档内文件重新展开(解压缩)
f: 追加,向压缩档中追加文件
l: 列出,列出压缩档中的文件信息
m: 删除,向压缩档中加入文件,然后删除源文件。
t: 检测,检测压缩档的好坏
u: 更新,检测并更新压缩档中的文件
v: 浏览
x: 带路径展开,解压缩时连同文件的原始路径
y: 用新参数复制压缩文件
-: 开关引导字符
.: 关信息
f: 分割块的大小,同ARJ的V参数,可将大压缩档分成多个卷,方便软盘拷贝
f 或 fM: 尺寸 K (或 M) 字节
例:
f360, f800K, f1.2M
fa: 使用盘上的自由空间
h or ?: 帮助,列出AIN的帮助信息
g: 口令,压缩档使用口令加密
g
gJohn - 加口令为"John"
g? - 用键盘输入口令
m: 压缩方案,选择在不同压缩率和压缩速度间选择
m1: 高效, 慢
m2: 正常(默认)
m3: 快速压缩
m4: 不压缩
o: 输出路径 (用 a, f, m, u, y 命令)
p: 记路径 (用 e, l, v, x)
p1: 记路径含自目录
r: 重记路径(用a, f, m, u),连同子目录下的文件
s: 设时间标记
u: 更新
u1: 高效, 慢
u2: 正常
u3: 快, 次压缩比
w: 连接工作目录
x: 展开
x{@|}
x*.exe: exclude *.exe files
x@list.txt: 展开在list.txt中列出的文件
y: 替换 Yes 到程序询问
yo: 覆盖已有
yf: 跳过
y: 替换Yes为所以询问
简单应用举例:
1.将当前目录下全面文件压缩到压缩档a.ain中
ain a a.ain *.*
2.将安装后的UCDOS压缩再用软盘备份。
ain a -f1440 -r ucdos.ain c:\ucdos\*.*
有兴趣的点击下面下载AIN2.3版,内含可执行文件压缩工具AINEXE。
打开附件 链接已失效(管理员注)]
Excellent Compression Software AIN under DOS
When it comes to the most famous compression software under DOS, PKZIP, ARJ, and RAR are the top three. PKZIP is the most classic, with low compression ratio but fast speed; ARJ has a high compression ratio and powerful functions, but is a bit slow; and RAR is a rising star, with compression ratio and speed between the first two, but the window-style operation interface is very convenient.
However, there are excellent ones beyond the top three. I especially like AIN. AIN is an excellent compression tool with a higher compression ratio than ARJ and faster speed than PKZIP. Moreover, the main program of AIN is extremely small, with the main program only 36K, which is much smaller than the top three. If you just use a compression tool for backup by yourself, AIN is definitely the first choice.
The usage of AIN is basically the same as ARJ, RAR, LHARC, etc. If you have used any of them, you don't need to learn again.
The parameter explanations of AIN are as follows:
Syntax:
AIN
a: Add, add files to the compressed archive
d: Delete, delete the specified file from the compressed archive
e: Expand, re-expand (decompress) the files in the compressed archive
f: Append, append files to the compressed archive
l: List, list the file information in the compressed archive
m: Add files to the compressed archive and then delete the source file.
t: Test, test the quality of the compressed archive
u: Update, detect and update the files in the compressed archive
v: Browse
x: Expand with path, decompress along with the original path of the file
y: Copy the compressed file with new parameters
-: Switch leading character
.: Turn off information
f: Split block size, the same as the V parameter of ARJ, can divide a large compressed archive into multiple volumes for easy floppy disk copying
f or fM: Size K (or M) bytes
Example:
f360, f800K, f1.2M
fa: Use free space on the disk
h or ?: Help, list the help information of AIN
g: Password, encrypt the compressed archive with a password
g
gJohn - Set password as "John"
g? - Enter password via keyboard
m: Compression scheme, choose between different compression ratios and compression speeds
m1: Efficient, slow
m2: Normal (default)
m3: Fast compression
m4: No compression
o: Output path (used with a, f, m, u, y commands)
p: Record path (used with e, l, v, x)
p1: Record path including self-directory
r: Re-record path (used with a, f, m, u), including files in subdirectories
s: Set time stamp
u: Update
u1: Efficient, slow
u2: Normal
u3: Fast, secondary compression ratio
w: Connect working directory
x: Expand
x{@|}
x*.exe: exclude *.exe files
x@list.txt: Expand the files listed in list.txt
y: Replace Yes to program inquiries
yo: Overwrite existing
yf: Skip
y: Replace Yes for all inquiries
Simple application examples:
1. Compress all files in the current directory to the compressed archive a.ain
ain a a.ain *.*
2. Compress the installed UCDOS and then backup with a floppy disk.
ain a -f1440 -r ucdos.ain c:\ucdos\*.*
Interested people click the following to download AIN 2.3 version, which contains the executable file compression tool AINEXE.
Open attachment Link invalid (Administrator note)]