Windows 10: Symbolic links/Folder links

Discus and support Symbolic links/Folder links in Windows 10 Software and Apps to solve the problem; Apologies for the long introcution first; I have read a number of questions and answers relating to symbolic links with interest, and have noted that... Discussion in 'Windows 10 Software and Apps' started by SeftonHall, Aug 2, 2022.

  1. Symbolic links/Folder links


    Apologies for the long introcution first; I have read a number of questions and answers relating to symbolic links with interest, and have noted that del, rmdir mklink, file explorer are all dangerous tools to use in order to remove a symbolic link. I had a PC with several physical drives each mapped to its own logical drive. C:\ was the boot drive. Another G:\ of the drives contained an old copy of windows, It contained a symbolic link to the user's documents and settings. Call the user XYZ. In my attempt to clean the drive - being cautious not simply format it, yet - I moved all the old sy

    :)
     
    SeftonHall, Aug 2, 2022
    #1

  2. Can't delete folders/files within a symbolic link or junction mklink

    Thanks again. I just tried this - assuming a performed all steps correctly:

    Symbolic links/Folder links [​IMG]


    Symbolic links/Folder links [​IMG]


    I then created the new symlink and got the same results when trying to delete a folder:

    Symbolic links/Folder links [​IMG]
     
    bteamstephen, Aug 2, 2022
    #2
  3. coder789 Win User
    Symbolic links inside linked folder

    Hi

    I'm creating symbolic links of one folder (Missions folder) to server so that the server can load the missions from the linked folder and this works. But the problem is that when I create symbolic links inside the sub folders (of Missions folder) then the
    server fails to load those sub folders folders.

    I made pic to demonstrate this problem, the
    link's here
    . The red is the Missions folder link to server folder and the Mis A sub folder contents are symbolic linked to Mis B & Mis C folders (blue line) . But server fails to load the B & C subfolders, only the sub folder Mis A can be loaded by the
    server.

    Does anyone know why it doesn't work?

    thanks!
     
    coder789, Aug 2, 2022
    #3
  4. Bree Win User

    Symbolic links/Folder links

    Exclude folder form Symbolic link ?

    Xcopy and Robocopy are not third party apps - they are Windows 10 command line utilities, presumably being used here to make backup copies of user files. I wrote my own .bat file using Robocopy that does full or incremental backups of my user folder to an external or network drive of my choice. I very soon learned the perils of Robocopy and symbolic links...
    The dangers of robocopy and symbolic links

    The switch I had to use for Robocopy is:
    /XJD :: eXclude Junction points for Directories.

    This one may be of use to @JerometheGiraff:
    /SL :: copy symbolic links versus the target.

    You could try combining that with...
    /XD dirs [dirs]... :: eXclude Directories matching given names/paths.
    ...but I'm not sure if that applies to symbolic links.

    Get to Know Robocopy for More Powerful File Management
    Robocopy and a Few Examples
    Type Robocopy /? in a command prompt for the full list of options or see:
    https://technet.microsoft.com/en-gb/...mands/robocopy

    Xcopy is far older than Robocopy and dates back to DOS 3.2. It supports the options:

    /EXCLUDE:file1[+file2][+file3]...
    Specifies a list of files containing strings. Each string should be in a separate line in the files. When any of the
    strings match any part of the absolute path of the file to be copied, that file will be excluded from being copied. For example, specifying a string like \obj\ or .obj will exclude all files underneath the directory obj or all files with the .obj extension respectively.
    ....
    /B Copies the Symbolic Link itself versus the target of the link.

    Type Xcopy /? for the full list.
     
    Bree, Aug 2, 2022
    #4
Thema:

Symbolic links/Folder links

Loading...
  1. Symbolic links/Folder links - Similar Threads - Symbolic links Folder

  2. "Moveable" shortcuts / symbolic links

    in Windows 10 Gaming
    "Moveable" shortcuts / symbolic links: Full disclosure - I do not have an IT background, and am trying to find a way forwards as our IT department has been unable to advise on this.I have a directory Directory1 with several sub-folders and files on a remote server. There is a shortcut to a file let's call it File1...
  3. Symbolic links/Folder links

    in Windows 10 Network and Sharing
    Symbolic links/Folder links: Apologies for the long introcution first; I have read a number of questions and answers relating to symbolic links with interest, and have noted that del, rmdir mklink, file explorer are all dangerous tools to use in order to remove a symbolic link. I had a PC with several...
  4. Symbolic links/Folder links

    in Windows 10 Gaming
    Symbolic links/Folder links: Apologies for the long introcution first; I have read a number of questions and answers relating to symbolic links with interest, and have noted that del, rmdir mklink, file explorer are all dangerous tools to use in order to remove a symbolic link. I had a PC with several...
  5. Symbolic link deletion

    in Windows 10 Updates and Activation
    Symbolic link deletion: Hello,I am having an issue. When I have tried to remove symlink using commands del, mkdir, unlink etc, they not helped to unlink. Either access is denied or file is not ok. I can't create and create a new symlink....
  6. Syncing folders using symbolic links

    in Windows 10 Network and Sharing
    Syncing folders using symbolic links: Hi everyone! I have a question about symbolic links on Windows 10. How can I sync folders using the function "mklink" CMD, and point to a folder which already exists, without creating a new folder? is it even possible? Because when I create a symbolic link in that way, it...
  7. Dealing with Symbolic Links & Backing Up User Folder

    in Windows 10 Network and Sharing
    Dealing with Symbolic Links & Backing Up User Folder: Reference posts: https://answers.microsoft.com/en-us/windows/forum/all/how-does-windows-7-backup-treat-symbolic-links/dce802f0-e043-445f-8462-70fc15c0872e...
  8. Symbolic links inside linked folder

    in Windows 10 Network and Sharing
    Symbolic links inside linked folder: Hi I'm creating symbolic links of one folder (Missions folder) to server so that the server can load the missions from the linked folder and this works. But the problem is that when I create symbolic links inside the sub folders (of Missions folder) then the server fails to...
  9. Symbolic Links (Soft Links)

    in Windows 10 Support
    Symbolic Links (Soft Links): Greetings, I have a large number of symbolic links (soft links) on my PC that I want to migrate to a new machine with an identical directory structure. When I use various backup or copy programs that clone files (bit copy), the symbolic links do not work on the target...
  10. Exclude folder form Symbolic link ?

    in Windows 10 Support
    Exclude folder form Symbolic link ?: Can I use Xcopy / Robocopy to create not only a symbolic link but exclude a folder from the symbolic link creation ? 80242