# Relative Path Names with 7z actions

**URL:** <https://www.finalbuilder.com/forums/t/relative-path-names-with-7z-actions/866>\
**Category:** Discussion\
**Created:** [June 4, 2008, 8:45am UTC](https://www.finalbuilder.com/forums/t/relative-path-names-with-7z-actions/866 "2008-06-04T08:45:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmiller](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/lmiller/32/82_2.png) [@lmiller](https://www.finalbuilder.com/forums/u/lmiller)\
**Post date:** [June 4, 2008, 8:45am UTC](https://www.finalbuilder.com/forums/t/relative-path-names-with-7z-actions/866/1 "2008-06-04T08:45:48Z")

</div>

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

Luke Miller

&nbsp;

---

<div class="post-metadata">

**Author:** ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)\
**Post date:** [June 4, 2008, 8:57am UTC](https://www.finalbuilder.com/forums/t/relative-path-names-with-7z-actions/866/2 "2008-06-04T08:57:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)\
**Post date:** [June 4, 2008, 9:05am UTC](https://www.finalbuilder.com/forums/t/relative-path-names-with-7z-actions/866/3 "2008-06-04T09:05:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)\
**Post date:** [June 4, 2008, 9:07am UTC](https://www.finalbuilder.com/forums/t/relative-path-names-with-7z-actions/866/4 "2008-06-04T09:07:00Z")

</div>

(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.)
