Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.vbs Exit Status in .Bat File 1

Status
Not open for further replies.

GGleason

Technical User
Mar 22, 2001
321
US
I hope I am in the correct forum to ask this question.

How do I capture the exit status of a .vbs script in a .bat file? Does anyone know the syntax for that?

Just so I am clear, the .vbs script is being invoked from the .bat file.

tia,
GGleason
 
Take a look at ERRORLEVEL

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks PHV! That was what I was looking for.

GGleason
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top