Subject: Filter Specific Files in Folder or SubFolder of the archive files
Date: 2010-10-06 10:01:57
From: Joseph Mer
Source: filter-specific-files-folder-subfolder-archive-files
----------------------------------------------------------------------

Hello

I have a Folder "Rep" and it contains 2 sub Folder "Temp" and  "Data"
I would like to archive the folder "Rep" by using the ultime zip dll :

Me.oZip = New Zip()
Zip.Open("zip.zip")
Zip.AddFiles("rep")

this code works well, but i would like to add a search condition to avoid archiving temp files wich are in the subfolder Temp?
i have tried this

options.SearchCondition = !SearchCondition.Masks("*.tmp");
Zip.AddFiles("rep",options)  but the filter "*.tmp" is global for the two subfolder ???

can you help me please

Thx



---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index