pack files structure

Discuss RoboTask here
Post Reply
rgonzalez
Posts: 41
Joined: Fri Nov 26, 2010 10:19 am

pack files structure

Post 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!
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: pack files structure

Post 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 9846 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.
Oleg Yershov
rgonzalez
Posts: 41
Joined: Fri Nov 26, 2010 10:19 am

Re: pack files structure

Post by rgonzalez »

Thank you, I'll give it a try! :o
Post Reply