![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Guest | robocopy stopping with unresolved files I'm trying to run robocopy from my C: drive to a second drive, the F: drive. I'm doing this: robocopy c:\users\pb4072.intdom f:\users\pb4072.intdom /e /xa:sh /b /xo After a couple of minutes, I'm getting this: .... The name of the file cannot be resolved by the system. Waiting 30 seconds... Does anybody know what's going on here? Is there a switch I can use to bypass these kinds of problems? Thanks, Peter |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: robocopy stopping with unresolved files On Thu, 23 Aug 2007 06:44:05 -0700, PeterBBailey wrote: >I'm trying to run robocopy from my C: drive to a second drive, the F: drive. > >I'm doing this: > >robocopy c:\users\pb4072.intdom f:\users\pb4072.intdom /e /xa:sh /b /xo > >After a couple of minutes, I'm getting this: > >... >The name of the file cannot be resolved by the system. >Waiting 30 seconds... > >Does anybody know what's going on here? Is there a switch I can use to >bypass these kinds of problems? Peter, read the f. manual. The /R: switch determins the number of attempted repetitions. Hans-Georg -- No mail, please. |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: robocopy stopping with unresolved files "PeterBBailey" <PeterBBailey@discussions.microsoft.com> wrote ... > I'm trying to run robocopy from my C: drive to a second drive, the F: > drive. > I'm doing this: > robocopy c:\users\pb4072.intdom f:\users\pb4072.intdom /e /xa:sh /b /xo > After a couple of minutes, I'm getting this: > The name of the file cannot be resolved by the system. > Waiting 30 seconds... > > Does anybody know what's going on here? Is there a switch I can use to > bypass these kinds of problems? Hi Peter, This is a standard Windows error, defined in Winerror.h: ERROR_CANT_RESOLVE_FILENAME # The name of the file cannot be resolved by the system. Robocopy will just be reporting an error which percolating up from the Win32 File I/O calls. Why it's happening, I dunno - one possible cause is when you have recursive links, which result in path names greater than MAX_PATH (for most Win32 functions, 260 characters) - or else, just very long path names. The NT kernel in Vista can handle pathnames up to 32K chars in length; but for compatibility reasons, many Win32 APIs clagg out at MAX_PATH. To get a perspective on what's happening, you can turn on logging for robocopy: C:\>robocopy c:\users\pb4072.intdom f:\users\pb4072.intdom /e /xa:sh /b /xo /v /log:mylog.txt After the error, use the log to identify the filenames causing problems. Robocopy is, well, "Robust Copy" and it will keep ferociously trying to copy files in the face of errors - by default, for one million retries on each file. To make robocopy continue copying in the face of these errors, you would need to turn down, or off, the retry limit: C:\>robocopy c:\users\pb4072.intdom f:\users\pb4072.intdom /e /xa:sh /b /xo /v /log:mylog.txt /r:5 The "/r:5" tells Robopy to retry 5 times, then give up and move on to the next file. Hope it helps, -- Andrew McLaren amclar (at) optusnet dot com dot au |
My System Specs![]() |
| | #4 (permalink) |
| Guest | Re: robocopy stopping with unresolved files "Andrew McLaren" wrote: > "PeterBBailey" <PeterBBailey@discussions.microsoft.com> wrote ... > > I'm trying to run robocopy from my C: drive to a second drive, the F: > > drive. > > I'm doing this: > > robocopy c:\users\pb4072.intdom f:\users\pb4072.intdom /e /xa:sh /b /xo > > After a couple of minutes, I'm getting this: > > The name of the file cannot be resolved by the system. > > Waiting 30 seconds... > > > > Does anybody know what's going on here? Is there a switch I can use to > > bypass these kinds of problems? > > Hi Peter, > > This is a standard Windows error, defined in Winerror.h: > > ERROR_CANT_RESOLVE_FILENAME > # The name of the file cannot be resolved by the system. > > Robocopy will just be reporting an error which percolating up from the Win32 > File I/O calls. Why it's happening, I dunno - one possible cause is when you > have recursive links, which result in path names greater than MAX_PATH (for > most Win32 functions, 260 characters) - or else, just very long path names. > The NT kernel in Vista can handle pathnames up to 32K chars in length; but > for compatibility reasons, many Win32 APIs clagg out at MAX_PATH. > > To get a perspective on what's happening, you can turn on logging for > robocopy: > > C:\>robocopy c:\users\pb4072.intdom f:\users\pb4072.intdom /e /xa:sh /b > /xo /v /log:mylog.txt > > After the error, use the log to identify the filenames causing problems. > > Robocopy is, well, "Robust Copy" and it will keep ferociously trying to copy > files in the face of errors - by default, for one million retries on each > file. To make robocopy continue copying in the face of these errors, you > would need to turn down, or off, the retry limit: > > C:\>robocopy c:\users\pb4072.intdom f:\users\pb4072.intdom /e /xa:sh /b > /xo /v /log:mylog.txt /r:5 > > The "/r:5" tells Robopy to retry 5 times, then give up and move on to the > next file. > > Hope it helps, > -- > Andrew McLaren > amclar (at) optusnet dot com dot au > >Thank you. It's that /r:5 there at the end of your informative text that lit me up. I think that's exactly what I need. I've been putting in a bunch of exception wildcard extensions, but, that kind of defeats the purpose. So, thanks again. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Robocopy copies same files again and again. | General Discussion | |||
| "Access is denied" for files with .exe or zip extensions using Xcopy or Robocopy | Vista General | |||
| Unresolved resolutions in KB938979 | Vista performance & maintenance | |||
| stopping web page reloading when clicking files/photos | Vista General | |||