Skip to main content

Run DOS Command


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



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

  • Working Directory – The working directory path.


  • DisplayName – The display name of the activity.

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


  • 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.


  • 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.


Download Example