Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12297

wshshell.run a shortcut and waiting for it to finish. How ?

From "R.Wieser" <address@not.available>
Newsgroups microsoft.public.scripting.vbscript
Subject wshshell.run a shortcut and waiting for it to finish. How ?
Date 2020-11-15 09:14 +0100
Organization Aioe.org NNTP Server
Message-ID <roqo1t$1kg1$1@gioia.aioe.org> (permalink)

Show all headers | View raw


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 ...

Back to microsoft.public.scripting.vbscript | Previous | NextNext in thread | Find similar


Thread

wshshell.run a shortcut and waiting for it to finish.  How ? "R.Wieser" <address@not.available> - 2020-11-15 09:14 +0100
  Re: wshshell.run a shortcut and waiting for it to finish.  How ? JJ <jj4public@gmail.com> - 2020-11-16 21:46 +0700
    Re: wshshell.run a shortcut and waiting for it to finish.  How ? "R.Wieser" <address@not.available> - 2020-11-16 17:10 +0100
      Re: wshshell.run a shortcut and waiting for it to finish.  How ? JJ <jj4public@gmail.com> - 2020-11-18 20:10 +0700
        Re: wshshell.run a shortcut and waiting for it to finish.  How ? "R.Wieser" <address@not.available> - 2020-11-18 14:37 +0100
          Re: wshshell.run a shortcut and waiting for it to finish.  How ? "Mayayana" <mayayana@invalid.nospam> - 2020-11-18 08:54 -0500
            Re: wshshell.run a shortcut and waiting for it to finish.  How ? "R.Wieser" <address@not.available> - 2020-11-18 18:48 +0100
          Re: wshshell.run a shortcut and waiting for it to finish.  How ? JJ <jj4public@gmail.com> - 2020-11-19 21:52 +0700
            Re: wshshell.run a shortcut and waiting for it to finish.  How ? "R.Wieser" <address@not.available> - 2020-11-19 19:20 +0100
              Re: wshshell.run a shortcut and waiting for it to finish.  How ? JJ <jj4public@gmail.com> - 2020-11-21 15:18 +0700
                Re: wshshell.run a shortcut and waiting for it to finish.  How ? "R.Wieser" <address@not.available> - 2020-11-21 12:02 +0100

csiph-web