Contents - Index - Previous - Next


StorePaths property

 

Applies to

TVCLZip component

 

Declaration

property StorePaths: Boolean;

 

Description

The StorePaths property, if set to True, will cause path information to be stored with the zip entry. If the StoreVolumes Property is set to True then the entire path will be stored.  If the StoreVolumes Property is False, then only the path information will be stored.

  

If StorePaths is False, then only the filename itself is stored.  

 

Note that if the RelativePaths Property is set to True, then this StorePaths property will automatically be set to True also.  Likewise, if the StorePaths property is ever set to False, then both the RelativePaths and the StoreVolumes Property will automatically be set to False.  

 

The following shows the results, assuming StorePaths is True: 

 

StoreVolumes Filename Stored Result  

True C:\DIRECTORY\FILENAME.EXT C:\DIRECTORY\FILENAME.EXT 

False C:\DIRECTORY\FILENAME.EXT DIRECTORY\FILENAME.EXT

  

The RelativePaths Property will also affect what is stored for the path information.