capture any error in VBScript?

后端 未结 5 2217
我在风中等你
我在风中等你 2020-12-09 13:24

I have a batch file that calls a VBScript (.vbs) program. After calling it, my batch script checks %errorlevel% to see if the .vbs program failed. I can signa

5条回答
  •  情深已故
    2020-12-09 14:11

    You might use the technique described in this article. It requires you to wrap your script inside a VBScript class.

提交回复
热议问题