Error handling is off by default in VBScript. When an error is encountered, the script halt.
You can enable error handling by including the On Error resume next statement, and you can turn it off by including On Error Goto 0.
When error handling is enabled, the script continues to run.
You can test for an error with statements like:
if err.number0 then wscript.echo err.number, err.description err.clear end if
0 comments
Hide comments