Vista and Robocopy

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
 
A

Andrew McLaren

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top