The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    robocopy users ... question

    Discussion in 'Windows OS and Software' started by zero7404, Jul 25, 2010.

  1. zero7404

    zero7404 Notebook Deity

    Reputations:
    7
    Messages:
    766
    Likes Received:
    0
    Trophy Points:
    30
    i've always had problems getting robocopy to work ...

    i get an infinite loop when i try to mirror the contents of my D drive to an external USB HDD.

    the D drive is not used for OS purposes, it just contains all personal files/folders.

    so i thought the correct command to issue would be:

    Code:
    robocopy d:\ g:\ /MIR /R:3 /W:5 /V /NP /LOG:Backup.log
    saved to a .cmd file and ran as admin results in an infinite loop. checked the destination and nothing is there.

    i also tried creating a folder in the destination and changing the destination in the command to that folder, but still the same.
    not sure if win7 creates any hidden or system files/folders on this drive

    i'd really like to get robocopy working again ...
     
  2. Nebelwand

    Nebelwand Notebook Consultant

    Reputations:
    119
    Messages:
    213
    Likes Received:
    0
    Trophy Points:
    30
    Looking at my batch files, try using d: and g: (without the backslashes) and exclude any special/system folders (e.g. /XD "D:\RECYCLER" "D:\System Volume Information").
     
  3. zero7404

    zero7404 Notebook Deity

    Reputations:
    7
    Messages:
    766
    Likes Received:
    0
    Trophy Points:
    30
    i found hidden and system folders on D:, added them to the exclude, here is the new command i wrote, but still infinite loop, copies nothing.

    robocopy D: G: /MIR /XA:SH /XJD /XD D:\$RECYCLE.BIN D:\d51f928100a917e9f204346afc14 D:\System Volume Information /R:3 /W:5 /V /NP >> logfile.txt