forst 0 Posted July 16, 2009 Hello all, i need help with a small script which will backup a whole drive e.g. D:\ into local disc. I already wrote some but it dont works as I want. it use DirCopy function with nooverwrite like this: DirCopy("d:\", "c:\backup\d\" & @UserName, 0) this work great until I put another CD, then because the directory c:\backup\d\ already exists on the disc, the script will not copy any file if i use DirCopy("d:\", "c:\backup\d\" & @UserName, 1) then it works with new CD but it overwrits files still around (I have a loop in the script) and it take too much CPU even if i put sleep (10000). Here is whole script: $i=0 do $varCD = DriveStatus( "d:\" ) if $varUSB = "READY" then DirCopy("d:\", "c:\d\" & @UserName, 1) endif sleep (10000) until $i=1 Thank you for help. Share this post Link to post Share on other sites