Vista and Robocopy

  • Thread starter Thread starter TonySper
  • Start date Start date
T

TonySper

Vista has included Robocopy in the operating system but when I run it and it
comes across a file it can't access it errors out. Does anyone know of a
switch in it to just skip the file and continue copying just like XXCOPY
will do?? I can't find any.
Tony
 
TonySper said:
Vista has included Robocopy in the operating system but when I run it and
it comes across a file it can't access it errors out. Does anyone know of
a

Hi Tony

Does the copy operation actually stop, with an error messge? Or does
robocopy just seem to "hang" when it hits the file it cannot access?

Robocopy is extremely persistent at trying to copy files (that's its main
raison d'etre); so by default, it will retry a file one million times, at 30
second intervals. You can use the /R:n parameter, to set the number of
retires. For example, "/R;5" to retry copying a file 5 times and then give
up, and move on to the next file. That may give you the effect you want?
 
Back
Top