怎么在纯DOS环境下解压文件拜托各位大神

2024-12-04 04:38:35
推荐回答(2个)
回答1:

用法: rar <命令> -<开关 1> -<开关 N> <压缩文件> <文件...> <@列表文件...> <解压路径\> <命令> a 添加文件到压缩文件 c 添加压缩文件注释 cf 添加文件注释 ch 改变压缩文件参数 cw 写入压缩文件注释到文件 d 删除压缩文件中的文件 e 解压压缩文件到当前目录 f 刷新压缩文件中的文件 i[参数]=<串> 在压缩文件中查找字符串 k 锁定压缩文件 l[t,b] 列出压缩文件[技术信息,简洁] m[f] 移动到压缩文件[仅对文件] p 打印文件到标准输出设备 r 修复压缩文件 rc 重建丢失的卷 rn 重命名压缩文件 rr[N] 添加数据恢复记录 rv[N] 创建恢复卷 s[名字|-] 转换压缩文件为自解压格式或转换回压缩文件 t 测试压缩文件 u 更新压缩文件中的文件 v[t,b] 详细列出压缩文件[技术信息,简洁] x 用绝对路径解压文件 具体请参见: http://epqftih.cfanhome.com/article.php?uid=22&itemid=199

回答2:

以下是rar 解压的参数说明,一般默认的 rar x -v 也就足够了 E:\>rar RAR 2.80 beta 5 Copyright (c) 1993-2001 Eugene Roshal 16 Feb 2001 Shareware version Type RAR -? for help Usage: rar - - <@listfiles...> a Add files to archive c Add archive comment cf Add files comment cw Write archive comment to file d Delete files from archive e Extract files to current directory f Freshen files in archive k Lock archive l[t] List archive [technical] m[f] Move to archive [files only] p Print file to stdout r Repair archive rr[N] Add data recovery record s[name|-] Convert archive to or from SFX t Test archive files u Update files in archive v[t] Verbosely list archive [technical] x Extract files with full path - Stop switches scanning ac Clear Archive attribute after compression or extraction ag[format] Generate archive name using the current date ao Add files with Archive attribute set ap Set path inside archive as Synchronize archive contents av Put authenticity verification (registered versions only) av- Disable authenticity verification check c- Disable comments show cfg- Disable read configuration cl Convert names to lower case cu Convert names to upper case df Delete files after archiving dh Open shared files ds Disable name sort for solid archive e Set file exclude attributes ed Do not add empty directories ep Exclude paths from names ep1 Exclude base directory from names ep2 Expand paths to full f Freshen files idp Disable percentage display ierr Send all messages to stderr ilog Log errors to file (registered versions only) inul Disable all messages isnd Enable sound k Lock archive kb Keep broken extracted files m<0..5> Set compression level (0-store...3-default...5-maximal) md Set dictionary size in KB (64,128,256,512,1024 or A,B,C,D,E) mm[f] Multimedia compression [force] o+ Overwrite existing files o- Do not overwrite existing files os Save NTFS streams ow Save or restore file owner and group p[password] Set password p- Do not query password r Recurse subdirectories r0 Recurse subdirectories for wildcard names only ri

[:] Set priority (0-default,1-min..15-max) and sleep time in ms rr[N] Add data recovery record s[,d,e] Create solid archive s- Disable solid archiving sfx[name] Create SFX archive tk Keep original archive time tl Set archive time to latest file tn