Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > robocopy stopping with unresolved files

Reply
Thread Tools Display Modes

robocopy stopping with unresolved files

 
 
PeterBBailey
Guest
Posts: n/a

 
      08-23-2007
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

 
Reply With Quote
 
 
 
 
Hans-Georg Michna
Guest
Posts: n/a

 
      08-23-2007
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.
 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a

 
      08-23-2007
"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?


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


 
Reply With Quote
 
PeterBBailey
Guest
Posts: n/a

 
      08-23-2007


"Andrew McLaren" wrote:

> "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?

>
> 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.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Access is denied" for files with .exe or zip extensions using Xcopy or Robocopy Di Cook Windows Vista General Discussion 6 03-06-2008 12:49 AM
Repost: Microsoft Baseline Security Analyzer. Still unresolved problem. alexB Windows Vista General Discussion 3 12-12-2007 07:58 PM
Repost: MS Baseline Security Analyzer trouble. Question still unresolved alexB Windows Vista General Discussion 0 12-09-2007 04:25 PM
Unresolved resolutions in KB938979 Charles K Windows Vista Performance 1 09-28-2007 04:48 PM
stopping web page reloading when clicking files/photos thebutterflycollector Windows Vista General Discussion 0 05-01-2007 07:33 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59