Directory
Directory - Delete
Delete a directory
IN
| Name | Type | Description |
|---|---|---|
| InDirectory | PathFile | The directory to delete. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutIsDeleted | Bool | The delete operation result. |
| Error | ErrorState | Gets the execution error message |
Directory - EnumerateFiles
Enumerate all files in a directory
IN
| Name | Type | Description |
|---|---|---|
| InDirectory | PathFile | The directory path to get files from. |
| InExtensionFilter | String | Specify the extension of the files to get (ex. '.txt','.csv').If multiple extensions are needed, specify the filter with ' |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutFiles | StringArray | The collection of file paths. |
| Error | ErrorState | Gets the execution error message |
Directory - MakeDirectory
Create a new directory inside a root folder
IN
| Name | Type | Description |
|---|---|---|
| InRootFolder | PathFile | The root folder where directory must be created. |
| InName | String | The directory's name. |
| InReplace | Bool | If true,replace the directory if already exists. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutDirectoryPath | String | The final directory path. |
| Error | ErrorState | Gets the execution error message |
Directory - TestDirectoryEmpty
Test if a directory is empty
IN
| Name | Type | Description |
|---|---|---|
| InDirectory | String | The directory path to test. |
| InTestFile | Bool | Test if there are files in the folder. |
| InTestDirectory | Bool | Test if there are directory in the folder. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutEmpty | Bool | True if file exists,otherwise false. |
| Error | ErrorState | Gets the execution error message |
Directory - TestDirectoryExists
Test if a directory exists at given location
IN
| Name | Type | Description |
|---|---|---|
| InDirectory | String | The directory path to test. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutResult | Bool | True if file exists,otherwise false. |
| Error | ErrorState | Gets the execution error message |