Returns the exit code set by a script or program run using the Exec() method.

Object.ExitCode

Parameters

Object

WshScriptExec Object

Expand imageRemarks

Expand imageExample

Expand imageSee Also