winrar command line folder stucture
Posted
by
Lee Hull
on Super User
See other posts from Super User
or by Lee Hull
Published on 2011-06-28T15:31:02Z
Indexed on
2011/06/28
16:24 UTC
Read the original article
Hit count: 257
I am trying to zip up a folder..
Example:
C:\Test*.*
C:\Test\bin*.*
I want to be able to zip up the Test folder with bin subfolder, however, I need the Test folder contents in the zip root.
I am trying to do this using the WinRar command line (rar.exe)
I've tried using rar.exe a "C:\File.zip" -ep "C:\Test" but it puts all the folder contents in root...
Tried rar.exe a "C:\File.zip" -ep "C:\Test*.*" "C:\Test\bin" same thing.. any ideas?
© Super User or respective owner