Hi George,
Thanx for your help as always.
What would be the "oShell.Run(" syntax for my situation namely:
run /n c:\emodels\emodels.exe "PATIENT_ID ", "12345", " JPG_ABO_ALL"
I don't know how to pass the inline parameters using the class suggested.
Neil
>>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.)