Xceed Zip Compression Library Documentation
ProcessSubfolders property
Xceed Zip control reference > Xceed Zip control properties > ProcessSubfolders property

The ProcessSubfolders property is used to determine whether subfolders are processed or not.

When the ProcessSubfolders property is set to True, you can zip or unzip entire folder structures. For example: Specifying "C:\WINDOWS\*" in the FilesToProcess property and setting the ProcessSubfolders property to True will cause the Zip method to zip up the entire contents of the "C:\WINDOWS" folder, including the SYSTEM folder and all other files and folders that can be found in there.

When the ProcessSubfolders property is set to False, subfolders will not be processed.

Data type

Boolean

Default value

False

Declaration (DLL API)  

BOOL XzGetProcessSubfolders( HXCEEDZIP hZip )

void XzSetProcessSubfolders( HXCEEDZIP hZip, BOOL bValue )

Remarks

Use "*" to match all files in a given folder. Old-style DOS wildcards such as "*.*" do not work in 32-bit operating systems (Windows 95/98/NT) the way they do in DOS. In Windows 95/98/NT, "*.*" will only match files that have a "." in them.

Applicable methods

Zip, Unzip, ListZipContents, PreviewFiles, RemoveFiles

Related topics

The controlling how paths are stored topic provides information on how to control what portions of a file's path (if any) are stored in the zip file.