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: | Need more help ? Ask your Questions at our Support Center | Follow us on Twitter @TSNW or Facebook
Facebook Share Print This Post

Posted on 31st October 2007 by Ashish Mohta , A Professional Tech blogger, Editor and Writer who talks 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

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.