Get Folder List
This Automation Manager 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:
|
|||||||||||||||
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. |
Example Input Parameters
Name | Type | Required | Example |
---|---|---|---|
Folder Path | String | Yes | C:\Temp* |
Recurse | Boolean | Yes | True (check box selected) |