Function Reference


_RunDos

Executes a DOS command in a hidden command window

#include <Process.au3>
_RunDos ( $sCommand )

Parameters

$sCommand Command to execute

Return Value

Success: the exit code of the command.
Failure: 0 and sets the @error flag to non-zero.

Remarks

The script waits until the command has been executed.

Example

#include <Process.au3>

Local $iRc = _RunDos("start Http://www.autoitscript.com")