开发者

How to add a file to a self-extracting RAR archive?

Is there a way to automatically add a file to an existing SFX archive?

I have crea开发者_如何学Cted with WinRAR the self-extracting archive Test.exe.

Now I want to add C:\test\Test.txt to Test.exe. Is this possible?


Ok, i found out the following command line arg to do the trick.

"C:\Program Files\WinRAR\rar.exe" a -ep C:\test\test.exe c:\test\test.txt
  • -ep is a switch to ignore the path, which i wanted
  • a is to add.

more help is there if you run rar or winrar from command prompt.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜