Populates a <StrList> object with the paths of files and folders in a directory tree on the hard disk.
static int32 FindFiles( FilePath p_oPath, StrList p_slFiles, string p_sFilter, int32 p_bRecurse )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<FilePath> | p_oPath | The root directory at which to begin the traversal. |
<StrList> | p_slFiles | A pointer to a <StrList> object that will store the folder and file names. |
string | p_sFilter | A search filter such as *.* or *.bmp. |
int32 | p_bRecurse | If true, sub-directories will be traversed. |
None published. Please look for an example in the Scenome Scripting Language code base.