Shuts down the system.
Shutdown ( code )
Parameters
code | A combination of shutdown codes. See "remarks". |
Return Value
Success: | Returns 1. |
Failure: | Returns 0. |
Remarks
The shutdown code is a combination of the following values:
Related
ProcessClose
Example
' Force a reboot
Set oAutoIt = WScript.CreateObject("AutoItX3.Control")
oAutoIt.Shutdown 6