IntControl (1000, p1, 0, 0, 0)
Sets the exit code returned by WinBatch.
p1 exit code
This specifies the value returned by WinBatch's "WinMain" (entry point) function.
Returns the previous setting.