dos
Issues a standard DOS command. If the DOS command fails, the action script that contains it is terminated.
Syntax
dos <DOS command line>
Example
dos rmdir /Q /S "{pathname of windows folder & "\temp"}"
This example deletes an empty directory from a temporary folder in the windows directory.
dos scandisk.exe e:
In this example, e: is a parameter passed to the scandisk program.
Notes
This command is Windows-only. It will cause an action script to terminate on a Unix agent.
On a Windows system, this has the same effect as issuing a system (Dos command line syntax) statement from the Windows API. It is also the same as typing the DOS command line to a DOS prompt. The DOS command uses the PATH environment variable to try to locate the command on the user's hard drive. As with any other DOS command, for other locations you must specify a complete pathname.
Be sure to use quotes if you have spaces in the filenames.
Version 5.1 and above -- Windows Only