Description

    Executes a command line statement.



Attributes

    Common

  • Continue on Error - True or False values to specify whether to continue executing the next activity even if an error is thrown on the current activity

    Input

  • Command - The command prompt command to be executed.

    Misc

  • Display Name - Renames the activity.


Example

  1. Add an Invoke Command Prompt activity inside the initial Sequence.
  2. Enter "echo hello && pause" on the Command Prompt Command field.
  3. When executed, Invoke Command Prompt activity will execute cmd.exe and print the word "hello" then wait for a user input. Note that the "pause" command wasn't necessary for this command to work. It was only used to show that the word hello was properly displayed. 

    The use case should look like the following screenshot:



The output should look like this: