Shared Shortcut to non-shared folder.


  1. Posts : 2
    Windows 7 Professional x64
       #1

    SOVLED:Shared Shortcut to non-shared folder.


    Hey everyone.

    I use both Linux (Ubuntu 10.04, 2.6.33-AMD64) and Windows 7 professional, and sometimes I get a little boggled at the apparent lack of functionality in W7 in the following situation.

    I have a network share in the root of my drive that I've called "DropBox" where my boss and I can both put files to be shared via the network. I have a bunch of files in "Downloads" directory that I'd like to be able to share at various times, but would rather not have my downloads directory directly shared as it violates my sense of order. IE, I would much rather have one shared folder from which you can reach all the other content I need to share on the drive, and if I need to un-share something, simply delete the shortcut, and Voila! instant anti-sharing.

    Figure 1. Clean Sharing




    In Ubuntu, you can create a symlink within a shared folder that points to a non shared folder which allows network users to access that non-shared folder.

    Does this functionality exist in W7?

    Thanks,
    NYTCG
    Last edited by NYTCG; 25 Aug 2010 at 11:20. Reason: Added diagram of "clean" file-sharing.
      My Computer


  2. Posts : 2
    Windows 7 Professional x64
    Thread Starter
       #2

    SOLVED: Shared shortcut to a non-shared folder


    Okay, so I solved this issue on my own =) TGFG! The answer lies in the MKLink command.

    Specifically: mklink /D /J Downloads "C:\Users\Robert\Downloads\"

    Works like a charm. All networked machines have access to my non-shared directory through the shared folder, and it looks nice and clean on the viewers end.

    Thanks for letting me rubber duck this one.
    NYTCG
      My Computer


 

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

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