Windows 10: Junctions, Libraries for multiple drives, and search questions

Discus and support Junctions, Libraries for multiple drives, and search questions in Windows 10 Support to solve the problem; My system has a secondary drive (E:, with the main Public folders on it, and I use Libraries to access it. Under Libraries\Documents, there are 2... Discussion in 'Windows 10 Support' started by BruceBon, Jun 27, 2016.

  1. BruceBon Win User

    Junctions, Libraries for multiple drives, and search questions

    My system has a secondary drive (E:, with the main Public folders on it, and I use Libraries to access it. Under Libraries\Documents, there are 2 folders: My Documents points to C:\Users\bbon\Documents, and Documents points to E:\Users\Public\Document. In the process of accomplishing this, I removed the Public\Documents folder from C: and then created a "Directory Junction" from C:\Users\Public\Documents to E:\Users\Public\Documents with mklink /J .
    Attachment has my notes for how I did this.

    One disadvantage of doing what I did is that it is difficult to tell where a file is stored. I believe the files are actually stored on E:, but File Explorer displays the same thing whether I navigate to C:\Users\Public\Documents or E:\Users\Public\Documents. Doing a Properties on a file from the C: folder shows it as being located on the C: drive, and doing Properties on the identical file from the D: folder shows it as being located on the E: drive, with all listed attributes other than location identical. I believe it is doing what I intended, but I don't know how to verify it.

    Questions: How can I verify if a folder is a physical folder or a link? When I do Properties on C:, is it safe to assume that the Used Space is actual space on the C: drive, or does it count space used in the Public\Documents folder that is actually on the E: drive?

    This is also screwing up file searches from File Explorer. Trying to get it working right, yesterday I reindexed everything, and confirmed that the Windows Search service is automatic and running.

    As an example of the Issue, I have a number of files whose names begin with "Yellow". If I navigate in File Explorer to This PC\E:\Users\Public\Documents or through a Quick Access link, and enter "Yellow" in the search box, I get a list of 257 such files, which I believe to be a correct search - not all file names have "Yellow" in them, so I think it is indexing by content as well as file name. But if I navigate to either This PC\C:\Users\Public\Documents or to Libraries\Documents\Documents and enter "Yellow", I get just 10 files, all of which have "Yellow" in the file name. What is much worse, when I navigate to a sub-folder of Documents that contains 6 of the 10 files with "Yellow" in their names, a search for "Yellow" gives the ridiculous result "No items match your search"!

    Questions: Why does one case include contents and the other only name? It seems like the Libraries link is going to C: rather than E:, but I'm almost certain I put E:\Users\Public\Documents into Libraries. And what could cause the difference in search behavior depending on the level in the directory tree?

    Sorry for the length of this query, but this is complicated and weird behavior that I am trying to understand. If anyone can point me to a Windows File System/Explorer for Dummies, I will be glad to look for answers there!

    BruceBon, Jun 27, 2016

  2. Why do I have 2 copies of the game I bought from the windows store wasting space on my drives?

    Thats a junction link... The data is actually stored in the junction links target... But the programs thinks it is on the junction links location.

    NTFS junction point - Wikipedia

    Btw... MS uses hardlinks and junction links all over in windows... Thats why sometimes you think the Windows folder is taking up a lot of space... But actually it is not... Windows explorer is just counting the same file multiple times.
    Alexei Stukov, Jun 27, 2016
  3. disa012 Win User
    Picture folder is "shortcut" and I am denied access...where is it?

    Thank you...Ramesh Srinivasan

    This was most helpful.


    disa012, Jun 27, 2016
  4. Junctions, Libraries for multiple drives, and search questions

    Launch Command Prompt (Admin)
    CD to the parent folder or drive of the folder in question

    dir /aL /s
    ** shows the reparse points (junctions)

    Slartybart, Jun 27, 2016
  5. topgundcp Win User
    When you create a junction link. You actually create a shortcut of a folder which contains only few bytes about the linked folder. If you notice, the Junction link also has an arrow.
    Here's an example:
    I created a link "My Music" under This PC->Music which points to D:\00-My Music. "My Music" has an arrow which tells you this folder only contains the info on the actual "D:\00-My Music" folder where all data is stored. Right click on "My Music"->Properties will give the info on the actual "D-00 My Music"

    MKLINK [[/D] | [/H] | [/J]] Link Target
    The target is where the real data is stored.

    More info: Be more efficient and better organized with the MKLink symbolic link tool - TechRepublic

    Junctions, Libraries for multiple drives, and search questions [​IMG]
    topgundcp, Jun 28, 2016
  6. Great tip ... unless shortcut arrows are turned off. Y won't see the visual reminder. Still a good tip.

    Nothing can be stored in a reparse point (Junction) - it's a pointer, not a container. It might look as though there are things there, but that's a reflection of what is really in the Target of the pointer.

    Searches are a bit of a learning curve. Indexing only affects finding content in the file. Searches will always find files, boy if a file contains the word yellow in it and the contents are not indexed, then you have to specifically tell Search to look in the contents when you start the search.

    Advanced Query Syntax (Windows)
    Use the Search Contextual tab in Windows 10 to efficiently find files - TechRepublic

    to get you started with better searching.

    I have noticed that Searching C: turns up things on E: and F: - Libraries point to folders on those drives.
    Slartybart, Jun 28, 2016
  7. BruceBon Win User
    Thanks for your responses. Will post how it goes when I get back to this (busy with other things right now).
    BruceBon, Apr 4, 2018

Junctions, Libraries for multiple drives, and search questions

  1. Junctions, Libraries for multiple drives, and search questions - Similar Threads - Junctions Libraries multiple

  2. Junctions/Hard Link over network drive

    in Windows 10 Ask Insider
    Junctions/Hard Link over network drive: Is there anyways I can trick applications into viewing a remote drive (or folder) as a local one? So I fully understand that making a junction or a hard link over a network drive to a local drive isn’t supported, and that I would need to use a symbolic link. However, I’m a...
  3. How do I search multiple drives?

    in Cortana
    How do I search multiple drives?: I recently installed a new SSD in my PC. I installed Windows 10 onto it without having uninstalled Windows 10 from my original hard drive. The original OS is still on the HDD but my computer is running the new OS off the SSD. My question is why my search bar isn't finding...
  4. Search question

    in Windows 10 Customization
    Search question: When I search either folders or sub-folders and hesitate for more than a few seconds, I am taken right back to the start. Is there a way to correct this so that any hesitation allows me to remain in place or gives me up to 60 – 90 seconds before going back to the start?...
  5. Questionable Files in Download Libraries

    in Windows 10 Software and Apps
    Questionable Files in Download Libraries: Greetings, Im running Windows 10 and after deleting Microsoft Flight-X and scenery add-on files, I was looking for any remaining that might have been hidden. In 'Libraries/Documents/Downloads' folder I found another Folder labeled 'Download App'. Inside this folder are...
  6. junction point/symbolic link query : multiple DOCUMENTS folders

    in Windows 10 Support
    junction point/symbolic link query : multiple DOCUMENTS folders: hi my documents folder is on e: as c: is a ssd with limited space. somehow i managed to end up with three 'documents' folders in explorer [actually dopus] of which two contain a few folders and the third one many folders, the latter is my real documents folder. the os will...
  7. Question about creating a junction before/during Windows installation

    in Windows 10 Installation and Upgrade
    Question about creating a junction before/during Windows installation: Hi all. My current preferred drive configuration for my desktop PC uses four drives: C: - Windows, Program Files D: - Games E: - Users directory, virtual machines F: - long-term storage, archives, media files I've been using a very simple answer file to redirect the...
  8. Symbolic link (Junction/s), how-to mklink? Please help with Junction?

    in Windows 10 Support
    Symbolic link (Junction/s), how-to mklink? Please help with Junction?: Hi all, having been a member at Seven then Ten forums for a fair while I'm hoping to find a straight answer here..? Apologies in advance if this is too verbose. Windows 10 system booting from (UEFI) NVME with 2xSSDs + 2 MHDDs for storage... An application (Xperia...
  9. Creating a library question...

    in Windows 10 Support
    Creating a library question...: Folks, I'm enjoying customizing my Windows 10 install. However, I have a question... My 500GB SSD C drive is getting full. According to WinDirStat, the biggest folder is "Downloads", at over 100GB. Now, I like having "Downloads" easily accessible and where it is:...
  10. Multiple Desktop question

    in Windows 10 Support
    Multiple Desktop question: I've been trying to do something with multiple desktops in 10 with no success. Is there a way - if you're using multiple monitors - to have different desktops displayed on different monitors at the same time? 20215