Contents - Index - Previous - Next


AddDirEntriesOnRecurse property

 

See also

Applies to

TVCLZip component

 

Declaration

property AddDirEntriesOnRecurse: Boolean;

 

Description

If AddDirEntriesOnRecurse is True, then when you do a recursive search through subdirectories (Recurse = True) a separate entry will be made in the archive for each directory.  This will allow even empty directories to be restored. 

 

If AddDirEntriesOnRecurse is False, path information will still be stored with each file that is compressed, but a separate entry will not be inserted for the directories. 

 

This property has no meaning unless Recurse = True. 

 

The resulting directory entries will have a Filename[Index] = '' (a blank filename) but will have a value for Pathname[Index].  When unzipping, these entries will cause that particular directory to be created if RecreateDirs = True.  

 

Default value is False.