WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: KappyNet on March 16, 2020, 11:03:59 AM

Title: IntControl 73 does not seem to be working - Resolved
Post by: KappyNet on March 16, 2020, 11:03:59 AM
I must be missing something simple, but I can't get IntControl 73 to trap an error. I've checked the threads and cannot find anyone else having reported this issue.

I've setup the IntControl:

IntControl(73, 3, @TRUE, "ErrorHandling", 0)

And I'm forcing the script to generate a 1077 error, but the script just displays the standard WBT error window.

I'm running on Win Server 2012 R2

Any thoughts?

Thanks,
Dan
Title: Re: IntControl 73 does not seem to be working
Post by: KappyNet on March 16, 2020, 11:31:05 AM
Never mind. The error was in a UDF so I needed to define Int 73 in the UDF.
Title: Re: IntControl 73 does not seem to be working - Resolved
Post by: td on March 16, 2020, 02:38:35 PM
Nothing makes the day quite like a self-answered question.