The VBScript Network and Systems Administrator's Cafe:

exit

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

June 18, 2008  1:14 PM

VBScript Statements: Explanation of the Exit statement



Posted by: Jerry Lees
exit, VBScript, VBScript Statements, vbscriptstatements

The Exit statement in vbscript allows you to exit a block of code, in the case of a subroutine (Exit Sub) or a function (Exit Function), or the entire script.

This statement is assumed at the end of a script, and therefore is not required, but is typically used in conditional statements...


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: