getdirects(directory [, maxfiles])
Returns, in a string array, a list of names of subdirectories that
reside in the
specified, then at most that many subdirectories are returned.
Otherwise, at most 100 names are returned. If no subdirectories are
found, then scalar
0 is returned.
See also: findfile, getfiles, getmatchedfiles