findfiles (<wildname> {,<directory>})
string
Files (or directories) in the local system matching a file name or wild pattern. The number of values returned is the number of files found.
<wildname>
The file name or wild pattern being searched for.
<directory>
The directory in which
to begin the search. If this omitted, the top directory of the system drive is assumed.
Sub-directories are searched.
Returned file names include their full directory path (with '/' separators).
In the following statement, all the files in the file system named 'start.cmd' are returned.
string fnames[] = findfiles('start.cmd')
Functions: |