none
BAT: ROBOCOPY summary says Dirs FAILED but shows no error messages RRS feed

  • Question

  • If this forum is inappropriate, or if there's a more appropriate forum, please let me know.  I'm new to the fora.

     

    I've written a BAT file to simply mirror a directory from C: to D: (so disks on the same VM, no network issues). I used options

     

    *.* /V /X /TS /FP /S /E /COPYALL /PURGE /MIR /ZB /NP /R:3 /W:3

     

    Shortly afterwards, I did a comparison with the same options plus /L:

     

    /V /X /TS /FP /L /S /E /COPYALL /PURGE /MIR /ZB /NP /R:3 /W:3

     

    The summary starts by saying that 12 directories FAILED:

     

                Total    Copied   Skipped  Mismatch    FAILED    Extras

     Dirs :    (many)        30         0         0        12         0

    Files :    (more)       958   (more-958)      0         0         0

     

    By Web searches, I see that "FAILED" should have lines above with the word "ERROR". But I can find no such lines. If I do a comparison without listing files or directories,

     

    *.* /X /NDL /NFL /L /S /E /COPYALL /PURGE /MIR /ZB /NP /R:3 /W:3

     

    there are no output rows at all other than the header and summary.

     

    Am I missing some error messages in the megalines of verbose output? Does anyone have any idea how to find the problem, if any? I'm thinking of a recursive dir + a script to do my own diff, to at least check names and sizes.


    • Moved by Bill_Stewart Friday, July 7, 2017 6:50 PM Off-topic
    Thursday, May 4, 2017 9:32 PM

All replies

  • This is not a RoboCopy forum.  Post in the Windows General  forum for help with RoboCopy.


    \_(ツ)_/

    Thursday, May 4, 2017 10:05 PM
  • Thank you for the reply.  How do I get to "the Windows General forum"?  Do you mean, for example, "Windows Server 2012 General" (that happens to be the O/S running on the VM)?

    Thursday, May 4, 2017 10:34 PM
  • Have you tried using with less parameters to do the same purpose ?

    robocopy <source> <destination> /mir /r:3 /w:3

    Sunday, May 28, 2017 3:37 PM