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 wanteda
is to add.
more help is there if you run rar or winrar from command prompt.
精彩评论