|
Post by waynefulcher on Mar 5, 2007 11:20:28 GMT -5
I am trying to zip all files (including subfolders) from a folder (C:\OriginalRoot\*.*) as Test.zip
But I want to be able to unzip Test.zip to another folder (C:\AnotherFolder) and have all the files and subfolders go into the new folder without the "OriginalRoot" folder being created. Do I have to write custom code to zip/unzip each file and subfolder or is there a setting to make it automatically not recreate the original root folder but do recreate the subfolders? TIA Wayne
|
|
|
Post by Kevin on Mar 13, 2007 16:30:39 GMT -5
Hi Wayne,
Sorry, I just got back from vacation where I did not have access to a computer. Thats the best kind of vacation actually. :-)
When you set the RootDir when you unzip, you are telling VCLZip what to strip from the left side of the path information that is stored with each file. So if you set DestDir to where you want to unzip to, and then set RootDir to 'C:\OriginalRoot\' then this should get you want you want.
The Help File has a more complete description of this under RootDir.
Thanks,
Kevin
|
|