Robocopy looking for my directories in the wrong place


  1. Posts : 13
    Win7 Professional, former XP (that is what I know), learned computing on 95 / DOS
       #1

    Robocopy looking for my directories in the wrong place


    I'm trying to use robocopy for mirroring my most important files between two computers. Except for one issue, it works as expected.

    I'm trying to copy the complete "Documents" directory. Previously, this was called "My documents" and contained for example "My pictures". Now it doesn't, and I like that, but robocopy don't. Somehow it still searches for these directories, and of course can't find them. Seems robocopy needs a fix, or am I missing out on something here?
      My Computer


  2. Posts : 7,878
    Windows 7 Ultimate x64
       #2

    When I use robocopy, I use it in a text based batch file. So, as long as your paths are correct in the batch file it should go exactly where you tell it to. I haven't noticed any issues doing it this way with Windows 7.
      My Computer


  3. Posts : 13
    Win7 Professional, former XP (that is what I know), learned computing on 95 / DOS
    Thread Starter
       #3

    I use it just like this:

    cmd /C robocopy "C:\Users\Linus\Documents" "\\HALLEN\Linus på Hallen\Aktuellt\Documents" /MIR

    It does what it should do, it mirrors my entire "Documents" directory to my backup at the other computer. But although it obviously searches for anything in the directory, it does search for "Min musik", "Mina bilder" and "Mina videoklipp". Which aint there.

    Yes, I'm running a swedish version, and this is more proof that robocopy hasn't been updated: as of now the directories are named the same no matter which language you run. It searches for system directories that don't exist anymore.

    And to make it more interesting, why did it ever search specifically for those directories? It does find everything in the directory without doing such stupid things.
      My Computer


  4. Posts : 196
    Windows 7
       #4

    Try adding the /XJ switch to the end of your command line. /XJ :: eXclude Junction points. (normally included by default).

    Code:
    cmd /C robocopy "C:\Users\Linus\Documents" "\\HALLEN\Linus på Hallen\Aktuellt\Documents" /MIR /XJ
    Just a thought....
      My Computer


  5. Posts : 13
    Win7 Professional, former XP (that is what I know), learned computing on 95 / DOS
    Thread Starter
       #5

    Sounds like a plan, if only someone can explain to me what "Junction points" means/is?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:06.
Find Us