robocopy cannot access "my music"


  1. Posts : 107
    Windows 7 Professional 64 bit
       #1

    robocopy cannot access "my music"


    There's a hidden file called "my music" in the documents directory, which bizzarely can be navigated to via "my documents" or "documents" depending upon the situation.

    I need to make robocopy work on the c:\users\jack\Documents directory. Robocopy cannot get past the hidden "my music" shortcut because "access is denied". Please tell me if that shortcut is a junction. I cannot check it myself because I already deleted it.

    A junction is displayed via an option on the dir command.

    "dir /aL"

    I don't see why Microsoft presumes I need a music directory.

    Hoping somebody replies.

    Regards,
    Jack
      My Computer


  2. Posts : 107
    Windows 7 Professional 64 bit
    Thread Starter
       #2

    I'm going to run with a robocopy option that skips junctions.
      My Computer


  3. Posts : 6,285
    Windows 10 Pro X64
       #3

    It's a junction, same on Win 8, 8.1 and 10. For instance, here is Win 10:

    Code:
     Directory of C:\Users\rrkurtz\Documents
    
    11/12/2015  10:39 PM    <JUNCTION>     My Music [C:\Users\rrkurtz\Music]
    11/12/2015  10:39 PM    <JUNCTION>     My Pictures [C:\Users\rrkurtz\Pictures]
    11/12/2015  10:39 PM    <JUNCTION>     My Videos [C:\Users\rrkurtz\Videos]
                   0 File(s)              0 bytes
                   3 Dir(s)  167,011,282,944 bytes free
    Using /X in robocopy as you said you were going to do should resolve the problem.
      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 05:32.
Find Us