Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-24-2008, 10:47 PM
wkwan wkwan is online now
Registered User
 
Join Date: 02-22-2008
Posts: 5
Multiple run program with xcopy and wait

Hi Kinook,

I am trying to copy one folder to different destinations in our network simultaneously. Below is what I did.

run program(xcopy) don't wait for completion - location 1
run program(xcopy) don't wait for completion - location 2
run program(xcopy) don't wait for completion - location 3
wait(%RUNPROGRAM_PROCESSID%)

Wait will always fail because it is only waiting for only one process to exit. How do I wait for ALL the run program to finish?

Is there a better way to do the copy of one source folder to multiple destination folder simultaneously?

Attached is the similar example that always fails.

Thanks in advance.
Attached Files
File Type: bld copy simultaneous.bld (1.5 KB, 1346 views)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 04:48 AM.


Copyright © 1999-2023 Kinook Software, Inc.