Execute Command
  • 23 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Execute Command

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version7.12.0
LocationFlow 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

PropertyDescriptionData Type
CommandThe absolute file path to the batch file String
ParameterStringOptional setting used to pass parameters used by the command fileInt32
Get Command and Arguments from FlowRetrieves the inputs for Command and ParameterString through the FlowBoolean

Outputs

PropertyDescriptionData Type
ErrorCode
---

Command Error Output
The error message outputted when the stepString

Command Output
The commands that were ran by the stepString

Return Code
The return code thrown by the error, if anyString
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?