View Single Post
Old 07-01-2009   #2 (permalink)
Mark D. MacLachlan


 
 

Re: hta must start cmd, wait, start another cmd

Dramklukkel wrote:
Quote:

> Good day everone,
>
> I'm writing a HTA that will run several cmd-files. However, certain
> cmd I will not allowed to run at the same time. E.g. n03.cmd must be
> finished before n08.cmd is allowed to be launched.
> How can this be achieved?
>
> Dramklukkel
Use the WSHShell.Exec method instead or WSHShell.Run. This will let
you check for process completion.

http://msdn.microsoft.com/en-us/libr...4a(VS.85).aspx

Hope that helps.

Regards,

Mark D. MacLachlan


--

My System SpecsSystem Spec