Recursive Zipping of Files
Keywords: Recursive Zipping
Question:
I have tried the following line of code, and I get the "nothing to do message".I do not have any .htm files in "c:\data", but there are many in subdirectories under that.
zipResult = zZipFiles("R", "E:\Projects\wbt\cersbu\test.zip", "c:\data\*.htm")Can you help me out?Answer:
The recursive option isn't capable of grabbing all the *.htm files in subdirs under the c:\data directory, so what I would recommend is to use the Zipper extender in combination with our Searcher extender. You can recurse through a directory structure with the Searcher extender, and if you find files with the file mask matching what you want, then you can get the directory and do the zZipFiles on them.The Searcher extender is very easy to use, and is available from the download area of our website.
Article ID: W12698Filename: Recursive Zipping.txt