R.Wieser
2020-11-15 08:14:47 UTC
Hello all,
I'm trying to run a program or script thru a shortcut and wait for it to
finish (this last bit is crucial). However, I get an "WshShell.Run: Unable
to wait for process." error.
My question therefore is : How do I run a shortcut and wait for its target
to finish ? Is there a better-suited command available perhaps ?
Targetted OS: XPsp3.
... just thought of something: extracting the target (and possibly
arguments) from the shortcut myself. Do I really have to do that ?
Regards,
Rudy Wieser
P.s.
Remarkable how few results you get googeling or DDG-ing for the above error
message including the doublequotes followed by the word "shortcut". Or how
few results, let alone relevant ones, you get when searching for just the
error message ...
I'm trying to run a program or script thru a shortcut and wait for it to
finish (this last bit is crucial). However, I get an "WshShell.Run: Unable
to wait for process." error.
My question therefore is : How do I run a shortcut and wait for its target
to finish ? Is there a better-suited command available perhaps ?
Targetted OS: XPsp3.
... just thought of something: extracting the target (and possibly
arguments) from the shortcut myself. Do I really have to do that ?
Regards,
Rudy Wieser
P.s.
Remarkable how few results you get googeling or DDG-ing for the above error
message including the doublequotes followed by the word "shortcut". Or how
few results, let alone relevant ones, you get when searching for just the
error message ...