Execute Command
- 23 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Execute Command
- Updated on 23 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 7.12.0 |
Location | Flow Management |
The Execute Command step allows commands to be executed from a Batch file, similar to the Run Command Program on a File step. The main difference between these two steps is that the Execute Command step does not require a file as an input, though the path to the batch file will still need to be specified.
Properties
Setup
Property | Description | Data Type |
---|---|---|
Command | The absolute file path to the batch file | String |
ParameterString | Optional setting used to pass parameters used by the command file | Int32 |
Get Command and Arguments from Flow | Retrieves the inputs for Command and ParameterString through the Flow | Boolean |
Outputs
Property | Description | Data Type | |
---|---|---|---|
ErrorCode | --- | ||
Command Error Output | The error message outputted when the step | String | |
Command Output | The commands that were ran by the step | String | |
Return Code | The return code thrown by the error, if any | String | |
Success | --- | ||
CommandOutput | The commands that were ran by the step | String |
Common Errors
Could not find the file specified
A standard error when utilizing the step would be having an incomplete file path to the command file. Ensure that the full file path to the command file is complete and includes the file extension. This message can be found on the CommandErrorOutput output.
Was this article helpful?