|
Error handling
|
|
| · | Basic syntax check
|
| · | [Machines] section pre-scan
|
| · | When an error occurs in a script
|
| · | BatchSettings.IgnoreErrors setting - ignore all command errors and continue with the script
|
| · | $i pre-command switch - ignore errors on a single line
|
| · | Use %LastErrorCode% to check if the previous command succeeded or not
|
| · | [OnError] section - execute commands when an error occurs
|
| · | $c pre-command switch - call a subsection before a command is executed (in order to avoid problem with dynamic variables containing undefined values when script resumed)
|
| · | Abort - stop the script - continue with step 3 below
|
| · | Retry - retry the command
|
| · | Ignore - ignore the error and continue with the next command
|
| · | Support - automatically creates support email template that contains program version, script and error log
|