FindFiles Data Member Function

Populates a <StrList> object with the paths of files and folders in a directory tree on the hard disk.

Prototype

static int32 FindFiles( FilePath p_oPath, StrList p_slFiles, string p_sFilter, int32 p_bRecurse )

Parameters

Parameter Type Parameter Name Documentation
<FilePath>p_oPathThe root directory at which to begin the traversal.
<StrList>p_slFilesA pointer to a <StrList> object that will store the folder and file names.
stringp_sFilterA search filter such as *.* or *.bmp.
int32p_bRecurseIf true, sub-directories will be traversed.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.