...
Returns a string array with all of the files found.
Examples
Code Block | ||
---|---|---|
| ||
// Get list of files in a directory. |
...
int $i, $count; |
...
string $path = "c:/data/day/"; |
...
string $files[]; |
...
...
// Get all the c3d files in the directory |
...
$files = `getFileList $path -pattern "*.c3d"`; |
...
...
// Get the number of files returned |
...
$count = `getCount $files`; |
...
...
// Operate on each file |
...
for( $i = 0; $i < $count; |
...
$i += 1 ) |
...
{ |
...
// Do something with the file |
...
// ... |
...
// ... |
...
} |
Additional information
Related commands
...