This function doesn't seem to work using a handle from the Process Information structure in CreateProcess if the process called is explorer.exe. Any suggestions on how to close an explorer window opened with createprocess?
A.M. | 2006-09-30 21:38:50
This code closes all Explorer windows:
obj = CREATEOBJECT("Shell.Application") ? obj.Windows.Count FOR EACH win IN obj.Windows win.Quit NEXT