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.
Update : You can use the symbolic link creator for this. Read more about it here or if you have Windows 7 use the library feature instead.
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.
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. His expertise are in Windows 7, Windows Server 2008 R2, Windows Home Server, Microsoft Office, Softwares. All posts by Ashish Mohta | Connect with me @ Twitter | Linkedin | Facebook | Stumble

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.”
I have the same problem “Cannot create a file when that file already exists error”
Try before posting please or reply to comments!
like others same problem… “Cannot create a file when that file already exists error”
Thanks!
You can’t create a link to a file using the same name as another file/link in the directory. Surely that’s obvious?!
Why would that be obvious? You can’t create a smylink between two subdirectories of different directories?
AKA C:\Program Files and C:\Program Files (x86)
↓
Subdirectory
Would that be “obvious” as you say?
Leave your response!
Subscription
Recommendations
Monthly Archives
Topics
What others are Saying ?
An impressive and easy to understand website which brings you productive applications, online tools, Windows and helps you better understand how you can use your computer, mobile and internet in a right way.