Relative Path Names with 7z actions

Is there a way to have the 7zip archive actions store the relative path names? I using 6.0.0.648. Thanks.

Luke Miller

 

Hi Luke,

If you turn recurse to On, then 7z will store path names.

Hi Luke,

Further to Tate's comment, with Recursion on 7-zip does this by itself, but only relative to the root directory you choose for the archive.

For instance, if you have directory structure C:\A\B\C

and you set up 7-zip for

Root directory = C:\A
Include files = *.*

Then your archive will look like B\C\...

However, if you set up 7-zip for

Root directory = C:\
Include files = A\*.*

Then your archive will look like A\B\C...

Hth.

Regards,

Angus

(I also found a minor bug in the 7zip Create Archive action. By default it was setting the Compression Level to “Store” - ie No Compression! I’ve changed it so the default will be “Normal Compression”, as of the next minor update.)