Get Folder List

This object returns a list of folders with an option to recurse (look in subfolders).

Privileges

Normal

Input Parameters

Name Type Required Description
Folder Path String Yes This is the path in which the folder will be searched.

This field accepts a wildcard ('*').
Recurse Boolean Yes If selected, this will also search in subfolders and return a full list of all folders and subfolders.

Output Parameters

Name Type Description
Hosts Information Collection

This is the list of folders. If there are one or more folders being found, this will be populated:

See Hosts Information table for further details.

Records Found Number The number of folders being returned, included in the array.
Result Number Returns a success value of zero or any value other than zero to indicate failure.
Result String String Object execution error details.

Hosts Information

Item Type Description
Folder Name String This is the folder name.
Full Path String This is the full folder path.
Last Access Time DateTime This is the last time the folder was accessed as per the folder tag.
Last Write Time DateTime This is the last time the folder was written to.

Example Input Parameters

Name Type Required Example
Folder Path String Yes C:\Temp*
Recurse Boolean Yes True (check box selected)