Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

good way to determine a filecopy is complete?

$
0
0
hello world!

i have seen other examples in the forum where people have come across filecopy's not completing so the next steps fail

i am also coming across this issue with this (doesnt always happen but the file ends up deleting - guess because its in the midst of being replaced then the shellexecute command is called so it interrupts the copy? - not sure)

[ autoit ]      
FileCopy($remote_file, $local_file, 1) ShellExecute($local_file)

im curious how other people might be addressing this issue - was thinking of approaching it this way...

[ autoit ]      
$copy = FileCopy($remote_file, $local_file, 1) While 1      If $copy Then ExitLoop WEnd ShellExecute($local_file)

thanks!

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>