automated task options for Run DOS / Cmd command action

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 propertiesDescription
Continue immediatelyTask's next Action will be executed immediately after starting DOS / Cmd command, batch file or Windows executable.
Continue after delay ofTask'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 / terminateTask's next Action is to be started right after the execution of DOS / Cmd command or batch file ends.
Do not wait longer thanIf 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 thanBy 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 stateChoose command prompt window startup state. Available options are:
  • Default - command prompt is opened the same way as it would be when running cmd.exe from Start menu.
  • Full screen - command prompt occupies all the available surface of a screen (as opposed to being shown in window).
  • Maximized - command prompt is maximized at launch.
  • Minimized - command prompt is minimized (displayed on the Taskbar).
  • Hidden - command prompt is shown neither on screen nor Taskbar and is accessible only from Task Manager.
This Action is enabledRun 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 unitstime unitsAllows precise specifying of time periods in milliseconds, seconds, minutes, hours or days.
Run DOS / Cmd command Action Options properties
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.
Copyright © 2001-2010 Febooti Software. All rights reserved. Last Updated: April 02, 2010