Skip to main content

Run DOS Command

Description

Executes the specified DOS command or a console application in invisible mode and returns the result

Properties

Input

  • Command – Input DOS command or console application, with arguments, if any.

  • Working Directory – The working directory path.

Misc

  • DisplayName – The display name of the activity.

  • Private – If selected, the variables and argument values will no longer be logged at the Verbose level.

Optional

  • Continue On Error – It Specifies whether the automation should continue even when the activity throws an error. If True, the activity continues without throwing any exceptions. If False, the activity throws an exception. The default value is False.

    Note: If this activity is present inside the Try-Catch block, and the value of this property is True, no error would be caught.

Output

  • Error Output - Errors that occurred during the DOS Command or Application execution, if any.

  • Exit Code - The code returned after execution of the DOS Command or Application.

  • Output - The Output from the DOS Command or Application.

Example

Download Example