Windows Accessories - Using Xcopy breaks folder symbolic link


  1. Posts : 31
    XP, 7, 10
       #1

    Windows Accessories - Using Xcopy breaks folder symbolic link


    Hi Guys

    I'm using XCOPY to move some icons into the 'Windows Accessories' folder.
    The 'Windows Accessories' folder true file location is:
    C:\Users\UserXYZ\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories
    AND
    C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories

    When this folder is viewed in the Start Menu and Windows Explorer, the title of the folder is 'Windows Accessories'. When I use XCOPY to move some icons to the true location, it somehow breaks the folder symbolic link. It then displays as 'Accessories' on the Start Menu & Windows Explorer which is its true location.

    The problem this then causes is that while you can see 'Accessories' on the start menu, because the way in which the Windows 10 start menu works, it also sees the ProgramData Windows Accessories folder and puts the start menu into a tail spin and the 'Accessories' folder does not work.

    My advice is that you try to do this yourself on a test system to see its effects to better understand what's going on.

    How could I use XCOPY to not break the symbolic link, or do I just recreate the symbolic link after doing an XCOPY?
    Or is there an alternate to XCOPY I can use that doesn't break symbolic links?

    Here is my XCOPY command as a basic example:
    Code:
    XCOPY "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories" "C:\Users\UserXYZ\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories\" /e /h /v /f /Y
    Thanks
      My Computer


  2. Posts : 31
    XP, 7, 10
    Thread Starter
       #2

    Ok I've just tested ROBOCOPY and this does not break the symbolic link MS has in place for 'Windows Accessories'.

    So that's my answer.

    Thanks for looking.
      My Computer


 

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

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




Windows 10 Forums