IntControl (47, p1, 0, 0, 0)
IntControl 47 has been superceded with the function TerminateApp.
Closes another WinBatch program.
IntControl 47 allows a WIL script to close another WinBatch program. (WinClose cannot close WinBatch programs.)
p1 = full or partial windowname of a WinBatch program window.
If p1 is the current window, this function is the same as an Exit.
Returns @TRUE on apparent success, or @FALSE on apparent failure.