GetDirectories

Returns the names of subdirectories in a specified directory as a comma-separated string.

SYNTAX
GetDirectories(path) 
GetDirectories(path, searchPattern) 
GetDirectories(path, searchPattern, recursive) 
ARGUMENTS

path Path where the names of the subdirectories are obtained.
searchPattern Search string to match against the names of files in the path.
recursive

TRUE = Searches subdirectories.

FALSE = Does not search subdirectories.

RETURN Comma-separated string containing the names of all subdirectories