BuildFileList Function
ImagingUtility

This function fills Files string list with names of files found with FindFirst/FindNext functions (See details on Path/Atrr here).

  • BuildFileList('c:*.*', faAnyFile, List, [flRecursive]) returns list of all files (only name.ext - no path) on C drive
  • BuildFileList('d:*.*', faDirectory, List, [flFullNames]) returns list of all directories (d:dirxxx) in root of D drive.
Pascal
function BuildFileList(Path: string; 
                       Attr: LongInt; 
                       Files: TStrings; 
                       Options: TFileListOptions = []): Boolean;
File

ImagingUtility (at line 149)

Related Information
You are here: Symbol Reference > Functions > BuildFileList Function