Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: WinBatch terminate kill close shutdown
IntControl(47, "WinBatch Window Title", 0, 0, 0)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.
Also see IntControl number 12 if it whines.
In the program, going to be "terminated", add at the top...
IntControl(12,5,0,0,0)That means, "When you die, die quietly."
Article ID: W13265
Filename: Kill one WinBatch script from another.txt
File Created: 2001:01:15:15:32:14
Last Updated: 2001:01:15:15:32:14