I am trying to zip specific contents of a folder while preserving the relative path of the files. Here is an example of what I mean:
I have the following folder structure:
and I am attempting to zip only files a c and d. When using the preservePaths property, the full path of the file is stored (e:\blah\blah\blah\folder\innerfolder\) instead of the relative path (\folder\innerfolder)
Btw, the files to be zipped are determined by a manifest xml file, so a simple filter won’t work.
Is there any way to select specific files to zip while preserving their relative paths?
Imported from legacy forums. Posted by Charles (had 951 views)