Searches a root directory for files with the specified file extension. For example: Find all files "D:\\MyFolder" with the ".glsl" and ".png" extensions.
int32 FindFileExtensions( string p_sDirectory, StrList files, StrList extensions, int32 recurse )
Parameter Type | Parameter Name | Documentation |
---|---|---|
string | p_sDirectory | The directory to search. For example: "D:\\MyFolder". |
<StrList> | files | A pointer to the destination <StrList> object that stores the file paths. |
<StrList> | extensions | A pointer a <StrList> object containig the file extensions to query. For example: this <StrList> might contain ".glsl", ".box", and ".png". |
int32 | recurse | If true, the directory search is performed recursively. |
None published. Please look for an example in the Simdify Scripting Language code base.