when copying large files or large number of files using the copyfile or copyfolder command is there a way to halt the script until the copy command is completed? I need to write a script that will stop 2 processes copy around 50,000 files to a different location and then restart the script. Currently I am using a wscript.sleep loop and pausing he script for 5 hours and then restarting the proceses but I was looking for a better way to perform this function.
Thanks
Dan
Thanks
Dan