WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Zipper

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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:   W12698
Filename:   Recursive Zipping.txt
File Created: 1999:04:15:16:49:00
Last Updated: 1999:04:15:16:49:00