The Shell Command block is used to execute a Windows command. This is used to complete batch processes in Windows. For
example, launching an external application.
To use the Shell Command block in your Workflow,
follow the steps below.
-
In Project Explorer, expand Workflows
and double-click the Workflow to edit. Alternatively, you can
right-click Interactive or Background Workflows
to Add one.
-
Drag and drop the Shell Command block from the
Toolbox into the work area.
-
Connect the Shell Command block to the previous and next blocks.
-
Double-click the Shell Command block to open the
Command Line Editor.
-
Type in the command to be executed. Click OK.
Note: To execute a
Powershell command, e.g. "mkdir C:\dir", enter this value:
powershell.exe -Command "mkdir C:\dir"