Windows 10: Symlinks in Windows 10

Discus and support Symlinks in Windows 10 in Windows 10 News to solve the problem; Overview Symlinks, or symbolic links, are “virtual” files or folders which reference a physical file or folder located elsewhere, and are an... Discussion in 'Windows 10 News' started by Brink, Dec 2, 2016.

  1. Brink
    Brink New Member

    Symlinks in Windows 10


    Source: Symlinks in Windows 10! - Building Apps for WindowsBuilding Apps for Windows

    :)
     
    Brink, Dec 2, 2016
    #1

  2. How do I stop Windows 10 File Explorer from navigating to symlinks and folder shortcuts?

    My posting applies to "directory" symlinks and "Network locations" as added with Windows Explorer / File Explorer, and
    not to "junction" symlinks as mentioned by Frederik.

    For these, the behavior has changed as indicated. It is possible to press the little navigation chevrons without "jumping" to the destination path, but as soon as one clicks on the symlink name / shortcut name itself, Windows 10 File Explorer leaves that
    portion of the navigation tree. Attempts to navigate "up" will navigate to the parent folder on the share, NOT the parent folder of the symlink / shortcut.

    As I understand it, "junction" symlinks are only available for local drives, and most of my "directory" symlinks and "Network locations" point to shared folders on servers.
     
    Cornan The Iowan, Dec 2, 2016
    #2
  3. How do I stop Windows 10 File Explorer from navigating to symlinks and folder shortcuts?

    In Windows 7, I used (numerous) [directory] symlinks and some "network locations" (AKA folder shortcuts) to create "synthetic" folder structures. For example, starting with real Windows folders:

    C:\$data

    C:\$data\DEV

    C:\$data\PROD

    ... I added in directory symlinks to network locations "all over" our enterprise:

    C:\$data\PROD\file upload (link to a network share)

    C:\$data\PROD\submit (link to a second network share)

    C:\$data\PROD\traffic (link to a third network share)

    ===

    When I navigated those folder structures in Windows Explorer (again, Windows 7) it appeared I was navigating a "real" folder structure. When I clicked on "submit" I would see the files in submit, but the focus in File Explorer would remain at "C:\$data\prod\submit"
    (i.e. the symlink) and I could drill down to sub-folders or go back up-level to other directory symlinks.

    ===

    On Windows 10, when I click on a directory symlink of folder shortcut, Windows 10 File Explorer navigates to the destination path, in other words, away from my folder structure of symlinks. This is not in keeping with the spirit of symlinks.

    ===

    To return to the folder structure I have to navigate back away from the network section of File Explorer.

    ===

    As a work-around, how can I restore the more prototypical symlink behavior, so that when I click on a symlink, Windows 10 File Explorer will keep the symlink in focus and not jump to the network path?

    ===

    How can I report this bug to Microsoft?
     
    Cornan The Iowan, Dec 2, 2016
    #3
  4. Ztruker Win User

    Symlinks in Windows 10

    I'd like to see this move into the GUI interface. Not sure how it would be done but I think it would get a lot more use. Also, all symlinks should be readily identified so there is no confusion between the real folder or file and the symlink.
     
    Ztruker, Dec 2, 2016
    #4
  5. NavyLCDR New Member
    NavyLCDR, Dec 2, 2016
    #5
  6. Ztruker Win User
    Thanks, I had forgotten all about that. I've not used it since 2013 or so. I'll have to play with it again.

    Would be nice to see this in Windows 10 without any external software needed.
     
    Ztruker, Dec 3, 2016
    #6
  7. f14tomcat Win User
    Been using that for years. The documentation alone is a work of art! Easy right-click context menu usage. Just was updated April this year for W10 compatibility.

    ??? - Where is this build 14972 the article refers to?
     
    f14tomcat, Dec 3, 2016
    #7
  8. Bree New Member

    Symlinks in Windows 10

    It was the Current Canary apparently, though that's now seems to be 10.0.14985.1000
    BuildFeed: The Windows build tracker
     
    Bree, Apr 4, 2018
    #8
Thema:

Symlinks in Windows 10

Loading...
  1. Symlinks in Windows 10 - Similar Threads - Symlinks

  2. How to make a symlink?

    in Windows 10 Ask Insider
    How to make a symlink?: How do I make a symlink? submitted by /u/eliminateAidenPierce [link] [comments] https://www.reddit.com/r/Windows10/comments/j9v5ug/how_to_make_a_symlink/
  3. Hard / Symlinks for Subfolders of WpSystem not valid

    in Windows 10 Network and Sharing
    Hard / Symlinks for Subfolders of WpSystem not valid: Hi there, I was trying to create Hard- / and Symlink in sub folders of WpSystem folder. Both hard- and symlinks fail at the end. Hardlink is created with correct file size, but when I try to open the file, I get the error message "File not found". Symlink is created as...
  4. Developer Mode dosen't work for Windows 10 Build 20201 - Cannot create symlinks as regular user

    in Windows 10 Network and Sharing
    Developer Mode dosen't work for Windows 10 Build 20201 - Cannot create symlinks as regular user: Hi, first time report. Developer Mode dosen't work - Developer Mode dosen't work for Windows 10 Build 20201 - Cannot create symlinks as regular user It works fine for Windows 10 Build 19041....
  5. Can I create a symlink to a folder, but exclude a sub-folder?

    in Windows 10 Ask Insider
    Can I create a symlink to a folder, but exclude a sub-folder?: TL;DR On COMPUTER-A I have a folder, with several files and sub-folders. COMPUTER-B is on the same network. On COMPUTER-B, can I add a symlink to the folder, but exclude one of the sub-folders? Hi all. I have a question about Windows symlinks. Here is my setup: I have two...
  6. Onedrive sees symlinks that aren't there....

    in Windows 10 Network and Sharing
    Onedrive sees symlinks that aren't there....: Trying to sync my Documents folder buuuut it thinks there is a 'My Music' symlink in there. I've looked everywhere and can't find what it's looking for or talking about. I got rid of those shortcuts out of that folder a loooong time ago. There aren't any hidden...
  7. If I delete a symlink, will it also delete the original file?

    in Windows 10 Ask Insider
    If I delete a symlink, will it also delete the original file?: Hi all. I have a question about symlinks in Windows 10. Let's say I do the following: I add file-a to folder-a. In folder-b I add a symlink to file-a. If I delete the symlink, will it also delete file-a? I believe the answer is 'no,' but just want to confirm. Also, I...
  8. File explorer keeps recursively searching into symlinks

    in Windows 10 Network and Sharing
    File explorer keeps recursively searching into symlinks: Recently some folder permissions on my Windows 10 laptop were messed up, so I decided to reset all the folder permissions by running the following command: icacls "C:" /reset /t /c /l After the command had finished running, the folder permissions were reset to default, but...
  9. How can I index a symlinked folder for Windows 10 search?

    in Windows 10 Customization
    How can I index a symlinked folder for Windows 10 search?: As a Linux user, I hate the Windows nomenclature like C:, D:, etc., they are just absurd. So I don't map my NAS samba share to a specific Drive to Windows. Instead, I deleted folders like Downloads, Music, Video and Documents in my user folder and make symlink directories to...
  10. Why doesn't symlink to packages in Windows work?

    in Windows 10 Software and Apps
    Why doesn't symlink to packages in Windows work?: My Laptop has 256GB SSD and The rest, HDD; i.e. 2 physically separate disks. The SSD acts as the C drive. As one can see, SSD has practically Low space. I added WSL support and installed Kali from Microsoft Store. But then I realised, the WSL files are stored in C drive. As I...