Run an app from VB Script with command line options wait till it is done then run another app.
Posted on 2013-06-11
I would like to run the following command from a vb script.
"C:\Program Files (x86)\Citrix\ICA Client\wfcrun32.exe" "C:\Users\Public\XenApp Desktop IBAU.ica"
The "C:\Users\Public\XenApp Desktop IBAU.ica" is an argument to the command that will be passed through in the script (it does not change)
I want to monitor the process wfcrun32.exe in the context of the user who is running it as it will be running many times.
Once the process ends, I want to send another command (a logoff)
That is all I need to do and I need to do it all from a vbscript.
Help and Thanks.