diskscanner SearchMask property
Return to Introduction  Previous page  Next page
Applies to
dcDiskScanner component.  

Declaration
property SearchMask: String;  

Description
The SearchMask property specifies a valid searching mask of files that you would like to find, which can contain wildcard characters (* and ?). You may specify entire file name or just part of it.  
 
tip For example, to find ALL files - the SearchMask should be "*.*". To find only files with .EXE extension - SearchMask should be "*.exe". To find all executable files that begins by "a" letter, set SearchMask to "a*.exe".  
 
new! The SearchMask can contain multiple masks, separated by semicolon (;). For example, if you would like to show only graphic files - set FileMask to "*.bmp;*.gif;*.jpg".  

See also
Folder property and Execute method.