|
Answer» All,
Am using a batch file to call SEVERAL batch files in several locations. however, we WANT each batch file to finish the robocopy job we are doing before running the NEXT as we have a set drive letter for all connections.
e.g.
1st batch
net use f: \\server1
START f:\2ndbatch
net use f: /delete
2nd batch
<>
Now the problem is that the 1st batch is running the 2nd BUT not waiting (even though using the /wait switch) untl the 2nd batch has closed.
IS THERE ANYWAY WE CAN DO THIS OR AM I FLOGGING A DEAD HORSE??
Thanks for any help or direction. JimChange the Start command to Call:
1st batch net use f: \\server1 call f:\2ndbatch net use f: /delete 2nd batch <>
|