The VBScript Network and Systems Administrator's Cafe:

on error

1

October 17, 2008  11:11 PM

Communicating error levels to a calling application from with in VBScript



Posted by: Jerry Lees
batch commands, Error control, errorlevel, exit, on error, VBScript, wscript, WScript.quit

We've discussed error handling previously (via the On Error Goto 0 command) in a entry titled, Using error control in a VBScript to recover from...

Bookmark and Share     2 Comments     RSS Feed     Email a friend

September 26, 2008  7:54 PM

VBScript Statements: Explanation of the On Error Statement



Posted by: Jerry Lees
Error control, on error, VBScript Statements

The on error statement allows you to somewhat control how the scripting engine handles errors in the scripts you write. It allows you to turn error handling on and off for the scripting engine so that you can handle them in your script.  The Statement essentially has two ways it is used. First...


1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: