Page 1 of 1

pack files structure

Posted: Tue Feb 21, 2017 6:26 pm
by rgonzalez
Hello again!

I'm using pack files action to compress a folder but I have 2 issues:

1- If there's an empty subfolder, it doesn't get added to the zipped structure. Only subfolders with files inside are added. This brakes the structure of the compressed folder.

2- Whenever I compress a folder, the full path to the folder is added to the structure, for example compressing "C:\Users\Rafa\Desktop\Folder\*.*" adds the folder "Users\Rafa\Desktop\Folder" to the structure of the compressed file and then the files that I choose, inside the folder. How can I stop this to exclude the full path off the structure? I tried "junk folder names" option but that removes all folders.

Thank you!

Re: pack files structure

Posted: Tue Feb 21, 2017 10:29 pm
by Oleg
...If there's an empty subfolder, it doesn't get added to the zipped structure...
Pack files in version 6.8 contains new parameter: Include empty folders
Turn this option ON. See screenshot below:
zipfiles.png
zipfiles.png (18.94 KiB) Viewed 9904 times
How can I stop this to exclude the full path off the structure?
There is small trick.
Suppose we need to pack the folder c:\User Data\john\pictures with subfolders but we don't need full path from root.
1. Change current folder to the folder c:\userDate\john\pictures (see action Change Folder)
2. Next, pack files by mask *.*. You do not need to specify folder, just pack all files in the current folder.

Re: pack files structure

Posted: Tue Feb 21, 2017 10:37 pm
by rgonzalez
Thank you, I'll give it a try! :o