GetFiles
Returns the names of files in a specified directory as a comma-separated string.
SYNTAX
|
GetFiles(path)
GetFiles(path, searchPattern)
GetFiles(path, searchPattern, recursive)
|
ARGUMENTS
|
path
|
The directory from which the files are obtained.
|
searchPattern
|
The search string to match against the names of files in path. The
searchPattern parameter cannot end in two periods or contain two periods.
|
recursive
|
TRUE = Searches in the current directory and all subdirectories.
If the directory structure contains a link that creates a loop back within the directory
structure, the search results in an infinite loop.
FALSE = Searches only in the current directory.
|
|
RETURN
|
A comma-separated string of file names in the specified directory. Defining the
searchPattern parameter returns the names of files that match the specified search pattern. File
names contain the full path.
|