IncludeFolderNames
(boolean) Whether to preserve the relative directory structure in the archive when adding files with wildcards.
VALUE DESCRIPTION |
|
true |
Include relative folder names so the structure can be recreated. (Default) |
false |
Don't include any relative folder names. (The Zip archive will have no internal directory structure.) |
For example, given two files located at:
C:\MyFolder\One.txt C:\MyFolder\MyInsideFolder\Two.txt
If the file table references {"C:\\MyFolder\\*.*"} and IncludeFolderNames and Recurse is set to true, the Zip archive structure would be:
One.txt MyInsideFolder\Two.txt
If IncludeFolderNames is set to false, the Zip archive structure would be: One.txt
Two.txt
Note: If no wildcards are used, no relative folder names will be preserved.