Thread: Exit VBScript
View Single Post
Old 12-14-2005, 02:15 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,757
How would "exiting the script" be different from exiting the subroutine before the end? An Exit Sub statement within a subroutine prevents the remainder of the subroutine code from executing, which has the same effect as calling WScript.Quit in a .vbs file (preventing the remainder of the code in the .vbs file from executing).
Reply With Quote