>Hi UTers,
There are two ways. One is to use Ed Rauh's API_APPRUN program from the download section.
The other is to use the WScript.Shell's Run method. It supports a paramter that tells the calling application to wait until the called application terminates. Sample syntax would be like this
oShell = CREATEOBJECT('WScript.Shell')
oShell.Run('notepad.exe', 5, .T.)
George
Ubi caritas et amor, deus ibi est