diskscanner Folder property
Return to Introduction  Previous page  Next page
Applies to
dcDiskScanner, dcFolderMonitor and dcBrowseDialog components.  

Declaration
property Folder: String;  

Description
The Folder property specifies the starting folder for scanning for files and folders. Default value is "c:\". To specify the searching mask - use SearchMask property. To search files in the subfolders - make IncludeSubfolders property True, or False to exclude the subfolders from search.  
 
tip This property can be specified if only the folder is really exist. Otherwise, exception will raised. Use try..except blocks to handle an exception.  

See also
SearchMask and IncludeSubfolders properties and Execute method.