ListFolders

Takes two parameters, FolderPath, bRecursive

Description:

This command makes it easy to get a list of Folders loaded into the Work Query.

If bRecursive has any value, the ListFolders command will provide a recursive list (ie. return all of the subfolders down any number of levels).

Example:

ListFolders "/Public/anyFolder", ""    'Provides single level folder list

ListFolders "/Public/anyFolder", "y"   'Provides recursive folder list