Options tab of Run DOS / Cmd command Action allows to specify the way a Task will proceed with following Actions after executing DOS / Cmd command. It can launch the next Action right after running DOS / Cmd command, after a fixed delay or only after termination of the specified command or program. It is also possible to choose command prompt window startup state, namely, whether it will be maximized, minimized, full screen or hidden.
Run DOS / Cmd command Action. Options properties.
| Options properties | Description |
| Continue immediately | Task's next Action will be executed immediately after starting DOS / Cmd command, batch file or Windows executable. |
| Continue after delay of | Task's next Action will be executed a specified amount of time after starting DOS / Cmd command, batch file or Windows executable. |
| Wait for command to complete / terminate | Task's next Action is to be started right after the execution of DOS / Cmd command or batch file ends. |
| Do not wait longer than | If enabled, Automation Workshop does not wait for end of DOS / Cmd command or batch file execution more than specified amount of time before proceeding with the next Action. |
| Treat error levels greater than | By default, the errorlevel value of successful DOS command execution is 0. When using Run DOS / Cmd command Action it may prove useful to treat errorlevel values greater than 0 (or any other specified value) as a possible or actual error by logging a warning or an error, respectively. |
| CMD window startup state | Choose command prompt window startup state. Available options are:
|
| This Action is enabled | Run DOS / Cmd command Action will be performed only if checkbox is enabled. Action can be disabled by removing the mark from This Action is enabled checkbox. When disabled, Run DOS / Cmd command Action will neither execute DOS commands, batch files or Windows executables nor process email or other reports. |
| Time units |

- Previous run dos / cmd command property (Command properties)
- Next run dos / cmd command property (Layout properties)
- Run DOS / Cmd command 2 of 5
Return to origin
Additional notes:
- On 64-bit Windows machines, the CMD window is not shown in full screen mode even if CMD window startup state option is set to Full screen. Instead the CMD window will most likely be hidden. On 32-bit machines, since Windows Vista, Full screen option only works with non-WDDM graphics card drivers.
Links