Implements the command prompt functionality.
Set a value: enables you to directly write the desired command, for example,
taskkill /F /IM Calculator.exe.
Save the previous step result: chooses the previous activity result as a command.
Calculate a value: enables you to use available properties and methods to form a command.
This options allows you to execute the specified command in the background.
Contains an annotation to the activity. The input text will be displayed above the activity name.
To store the cmd result in a variable, a user needs to add the 'Assign value to variable' activity after the cmd block, specify the variable name, and choose the 'Save the previous step result' option.
The result is a string. For example, if the
whoami command is specified in the 'Command Prompt' activity then the following result will be returned:
This activity, for example, is a good way to start any application. You may add the corresponding command to the 'Command Prompt' activity instead of trying to click the application shortcut.