China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-13 18:56
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » [Help] Problem with RAR32! View 1,544 Replies 8
Original Poster Posted 2003-12-30 00:00 ·  中国 广西 玉林 电信
初级用户
Credits 135
Posts 4
Joined 2003-10-21 00:00
22-year member
UID 11671
Gender Male
Status Offline
This is my first time using RAR32, and I'm not very used to it yet. Please help me.
The format I used with RAR32 to add a *.RAR file was
rar32 a e:\dos
Why does it keep compressing the files in the directory where RAR32.EXE is located instead?
What I originally wanted was to compress the files under E:\DOS
My format is wrong, so I'd also like to ask everyone to point out the correct one
Urgent
Floor 2 Posted 2003-12-30 00:00 ·  中国 山东 烟台 联通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re 月下暇想曲:

The command-line usage of compression software is generally:

command subcommand target archive

So according to the usage you gave above, e:\dos is being treated as the target archive name, and since the source files to compress are omitted, it defaults to all files under the current path. In other words, it compresses all files under the current path into e:\dos.rar. So of course the proper usage would be:

rar32 a dos e:\dos\*.*
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 3 Posted 2003-12-30 00:00 ·  中国 福建 三明 电信
初级用户
Credits 135
Posts 4
Joined 2003-10-21 00:00
22-year member
UID 11671
Gender Male
Status Offline
Okay, thanks~!
Floor 4 Posted 2003-12-30 00:00 ·  中国 福建 三明 电信
初级用户
Credits 135
Posts 4
Joined 2003-10-21 00:00
22-year member
UID 11671
Gender Male
Status Offline
I tried it. The method you mentioned compresses the files under the directory, but if there are subdirectories under it, then the files in those subdirectories won't be added. So what should I do? Please advise.
Floor 5 Posted 2003-12-31 00:00 ·  中国 重庆 电信
银牌会员
★★★
Credits 2,202
Posts 499
Joined 2003-06-12 00:00
23-year member
UID 4876
Gender Male
Status Offline
There are command explanations in rar's HLP file.
一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— !
Floor 6 Posted 2004-01-03 00:00 ·  中国 山东 烟台 联通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re 月下暇想曲:

Including subdirectories in compression software is generally controlled by options or parameters. And the options or parameters used by different compression software are not all the same. You can directly enter rar32 to view its online help documentation; after finding the corresponding parameter, just put it in the position I pointed out above.

means this item is optional, and is not part of the option or parameter itself, so you do not need to type it.




※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 7 Posted 2004-01-04 00:00 ·  中国 广东 汕头 电信
银牌会员
★★★
Credits 1,451
Posts 446
Joined 2002-10-20 00:00
23-year member
UID 29
Gender Male
Status Offline
It seems to be -r
Floor 8 Posted 2004-01-14 00:00 ·  中国 辽宁 沈阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
The following is quoted from 月下暇想曲's post on 2003-12-30 7:02:26:
This is my first time using RAR32, and I'm not very used to it yet. Please help me
I used this format with RAR32 to add a *.RAR file: 
rar32 a e:\dos
Why does it keep compressing the files in the directory where RAR32.EXE is located instead?
What I originally wanted was to compress the files under E:\DOS 
 My format is wrong, so I'd also like to ask everyone to point out the correct one 
Urgent



Please go to http://model.chinajewelry.net/dos/dosbbs/dispbbs.asp?BoardID=12&replyID=51050&id=8128&star=1&skin=0 and take a look.
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Floor 9 Posted 2006-09-30 02:23 ·  中国 广东 汕头 电信
初级用户
Credits 135
Posts 49
Joined 2006-04-28 10:01
20-year member
UID 54589
Status Offline
Originally posted by 月下暇想曲 at 2003-12-30 00:00:
This is my first time using RAR32, and I'm not very used to it yet. Please help me
I used this format with RAR32 to add a *.RAR file:
rar32 a e:\dos
Why does it keep compressing the files in the directory where RAR32.EXE is located instead?
What I originally wanted was ...


It can run from the command line, but under DOS7.1 it gives an error instead? How do you start pure 32-bit DOS?
Forum Jump: