Home » Vista Tweaks and Trick

Vista Tip : How to make data of two folders available in one

Last post we learned how to make a symlink in windows vista. However with default option you will be able to see only one directory or folder data in the symlink created. Here we will see how we can make data of two directory available in one symlink.

Our Target

Take Directories d:\Blogdata and d:\Images . Now you want to see data of both the directory into a new place say d:\Blog. Now we will use MKLINK /J option to do it. /J stands for directory junction.

Steps to make a junction directory / symlink

  • MKLINK /D c:\blog d:\BlogData
  • The above steps create a hard link and all data under D:\blogdata directory can be seen in c:\blog.
  • Now type MKLINK /J c:\blog d:\images
  • Now your d:\images will be added to the symlink you have already create.
  • Now when you browse c:\blog you will be able to see both directories data.

Have Your say

Try this and see if it work. If you have any problems in implementing it, you can leave a comment and I will try to help you for sure.

Tagged with:

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanΜεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/NorwegianÖversätta till Svensk/Swedishहिन्दी अनुवाद करने के लिए/Hindi
Tradueix al català/CatalanTulkot uz latviešu/LatvianPreložiť do slovenčiny/SlovakVertaal aan het Nederlands/Dutchترجمة الى العربية/ArabicTraduzca al Español/SpanishTraduisez au Français/French
Traduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Korean中文翻译/Chinese Simplified中文翻译/Chinese TraditionalПереклад на українську/Ukrainian

SMS subscribe Print This Post

Posted on 31st October 2007 by Ashish Mohta , A tech blogger who writes about solving day to day problems of people who use computer. He also writes on How to use the applications like Office, PC tips, Online tools,Browsers and more. All posts by Ashish Mohta | Connect with me @ Twitter | Linkedin | Facebook | Stumble | Need more help? Ask your Questions at our Support Center

5 Comments »

  • SantaClaus said:

    Getting Vista to display two folders as one via the above method does not work.

    For example:

    MKLINK /D c:\Test d:\SampleA
    MKLINK /J c:\Test e:\SampleB

    Results in an error “Cannot create a file when that file already exists.”

  • PJ said:

    I have the same problem “Cannot create a file when that file already exists error”

  • Kumar said:

    Try before posting please or reply to comments!
    like others same problem… “Cannot create a file when that file already exists error”
    Thanks!

  • John Hunt said:

    You can’t create a link to a file using the same name as another file/link in the directory. Surely that’s obvious?!

Leave your response!

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>