Show Junctions in File Explorer?

Page 1 of 2 12 LastLast

  1. Posts : 3
    Windows 10
       #1

    Show Junctions in File Explorer?


    Is there a way for Windows Explorer to differentiate between a junction and the actual data pointed to by the junction?

    Also, it appears that both the junction and actual data location both show storage being used for the files. Is there a way for the junction location to show actual free space available?

    Example... I created a junction to free up space on my c: drive pointing to my d: drive with data moved to d:. Both c: and d: show all the folders and files as using up space.

    Thanks

    Mike
      My Computer


  2. Posts : 1,223
    W10-Pro 22H2
       #2

    On my PC Explorer shows a different icon for the junction folder on C (in my case its MSOCache) and the source on E:
    Show Junctions in File Explorer?-jn-1.png
    source:
    Show Junctions in File Explorer?-jn-2.png

    I don't know what you mean by ' a way for the junction location to show actual free space'. Explorer will show the size of what it finds under properties (but the junction has an extra tab called 'link properties'). If you want to know how much space is taken on the drive, and you can't tell junctions from normal folders as I can, Wiztree will show the truth:
    Show Junctions in File Explorer?-jn-3.png

    update: Sorry, I forgot I am using LSE!
    Last edited by mngerhold; 06 Feb 2021 at 06:17. Reason: I forgot!
      My Computer


  3. Posts : 1,203
    11 Home
       #3

    Link Shell Extension has an option to show an icon overlay on the folder icons of junctions.
    Link Shell Extension

    AFAIK there is no built in function in Windows that makes folder properties show junction point in Explorer.
      My Computers


  4. Posts : 3
    Windows 10
    Thread Starter
       #4

    mngerhold said:
    On my PC Explorer shows a different icon for the junction folder on C (in my case its MSOCache) and the source on E:
    Show Junctions in File Explorer?-jn-1.png
    source:
    Show Junctions in File Explorer?-jn-2.png

    I don't know what you mean by ' a way for the junction location to show actual free space'. Explorer will show the size of what it finds under properties (but the junction has an extra tab called 'link properties'). If you want to know how much space is taken on the drive, and you can't tell junctions from normal folders as I can, Wiztree will show the truth:
    Show Junctions in File Explorer?-jn-3.png

    update: Sorry, I forgot I am using LSE!
    Thank you! That should do it.

    - - - Updated - - -

    hdmi said:
    Link Shell Extension has an option to show an icon overlay on the folder icons of junctions.
    Link Shell Extension

    AFAIK there is no built in function in Windows that makes folder properties show junction point in Explorer.
    Thanks!
      My Computer


  5. Posts : 1,775
    Windows 10 Pro
       #5

    Sorry for the noob-ish question, but what is the benefit of using junctions?
      My Computers


  6. Posts : 68,995
    64-bit Windows 11 Pro for Workstations
       #6

    x509 said:
    Sorry for the noob-ish question, but what is the benefit of using junctions?
    Hello mate,

    A symbolic link is a file-system object (file or directory) that points to another file system object (file or directory). The object being pointed to is called the target.

    There are two type of symbolic links: hard and soft.

    A soft link is referenced as a symbolic link and works similarly to a standard shortcut. Soft links will have a shortcut arrow icon on them. For example, when you open a soft link to a folder, you will be redirected to the folder where the files are stored.

    A hard link makes it appear as though the file or folder actually exists at the location of the symbolic link, and your app won’t know any better. That can make hard symbolic links more useful in most situations. Hard links to a file will not have a shortcut arrow icon on them.

    Create Soft and Hard Symbolic Links in Windows
      My Computers


  7. Posts : 3
    Windows 10
    Thread Starter
       #7

    Short answer... it allows you to move a folder/directory to a different location while making it appear to still be in the original location. For example, let’s say you have program data in a directory on your c: drive but it’s running low on space. You can create a junction on c: that points to another drive with more space and move your data there. When the program looks for the data the junction will point to the moved data and the program won’t know anything is different. Junctions can be used for local directories and across local volumes.

    Here’s a link to a much better explanation.
    https://www.2brightsparks.com/resour...olic-Links.pdf
    Last edited by mmosier1; 07 Feb 2021 at 19:46.
      My Computer


  8. Posts : 1,203
    11 Home
       #8

    x509 said:
    Sorry for the noob-ish question, but what is the benefit of using junctions?
    NTFS links - Wikipedia

    - - - Updated - - -

    mmosier1 said:
    Short answer... it allows you to move a folder/directory to a different location while making it appear to still be in the original location.
    I mostly use it to do the exact opposite of that. I.e., keep a folder in the original location while making it appear to still be moved, usually onto the type of Ramdisk that uses Dynamic Memory Management (Romex Software Primo Ramdisk) so that I only need to copy those small parts of the data that would create a noticeable performance bottleneck otherwise. Copying those small parts of the data onto the Ramdisk can also be automated with Task Scheduler event-based triggers. And, by keeping those same small parts of the data split and/or duplicated across multiple physical storage devices, this data can also be copied onto the Ramdisk much faster due to copying multiple chunks from these multiple devices at once.

    Kind of similar to how a bittorrent client app can also be used to achieve higher data transfer rates by downloading different chunks of the same data from multiple physical sources at once. Essentially, I am downloading it from my own local storage devices, directly onto my Ramdisk, by using somewhat similar design concepts that were once outlined, more than a quarter of a century ago, in what's known as distributed environment and CORBA. But that's all fairly well unrelated to Windows 10, I digress...
      My Computers


  9. Posts : 284
    Windows 10 Home 64 bit
       #9

    Let's say the source folder of what I want to make a junction of is 1gb and is stored on drive C: and drive E: where I want the junction to go is only 512mb and on drive E: ... can I still create a junction for the folder on drive C: and direct the junction path to drive E: ?
      My Computers


  10. Posts : 1,223
    W10-Pro 22H2
       #10

    I think you have it exactly the wrong way round - although the words can be interpreted in at least two ways! Assuming you want to keep the data on C: (you don't have much choice, after all), then you create a junction on E: that points to C:\folder, so that any program accessing E:<jn> is actually redirected to C:\folder (but doesn't know about it).
      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 18:10.
Find Us




Windows 10 Forums