Contents - Index - Previous - Next


ExcludeList property

 

Applies to

TVCLZip component

 

Declaration

property ExcludeList: TStrings;

 

Description

Add filenames and/or wildcard specifications to this file list to specify files that you do not wish to be included in an archive when zipping.  This is useful, for for example, for excluding things like *.tmp files.  

Wildcards may be used when adding to the ExcludeList. 

 

Example:  

 

To exlude all .tmp and .bak files, add the following lines before calling the Zip Method:  

... VCLZip1.ExcludeList.Add('*.bak'); VCLZip1.ExcludeList.Add('*.tmp'); ...