ExtendedErrorInfo
(table) A table that will be filled with extended error information indexed by the following keys:
KEY |
TYPE DESCRIPTION |
|||
ErrorCode |
number |
The Windows error code. |
||
ErrorMsg |
string |
The Windows error message. |
||
Note: Since this parameter requires a table, you must first create the table before the action is called, for example, TableName={}; |
Re t u r n s
(number) The process return code if the WaitForReturn parameter is set to true. If WaitForReturn is set to false 0 is returned. You can use Application.GetLastError to determine whether this action failed, and why.
Note: The termination status returned may be one of the following:
The exit value specified in the ExitProcess or TerminateProcess function. The return value from the main or WinMain function of the process.
The exception value for an unhandled exception that caused the process to terminate.
See also: Related Actions
File.RunOnReboot
OverviewExamples
File.RunOnReboot ( string Filename,
string Args = "" )
De s cr ip t ion
Runs an executable the next time the system is rebooted.
P arame t er s
Filename
(string) The path to the executable (.exe) file.