GetFileList
GetFileList Function
Gets the list of files with specified pattern from the mentioned directory.
Syntax
GetFileList(scalar Directory Name, scalar Pattern, scalar Recursive(true/false))
Arguments
| Argument | Description |
|---|---|
scalar Directory Name | Directory from which the list of files is to returned |
scalar Pattern | Pattern specifying the type of files |
scalar Recursive | True if list from subdirectories is also needed and false if not needed |
Examples:
GetFileList("C:\","*.txt", false)
Gets the list of all the files of .txt type from C:\ directory. Recursive should be made true if files from sub directories are also needed.