Contents - Index - Previous - Next


DestDir property

 

Applies to

TVCLUnZip component

 

Declaration

property DestDir: string;

 

Description

The DestDir property is  the path to where files will be extracted. If the path does not exist it will be created even if several levels of directories must be created.  In other words if DestDir is set to c:\dir1\dir2\dir3 and only c:\dir1 exists, dir2 and dir3 will be created.  It does not matter whether you include a '\' at the end.

  

If DestDir is set to a '?' then a directory finder dialog box will be displayed so that a directory can be selected. If you set DestDir to '?' and the user presses the cancel button on the dialog box, a EUserCanceled exception will be thrown and DestDir, along with all other properties will remain unchanged