Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to combine two separate directories into the same place on Windows using symbolic links?

Something like this:

mklink /J c:\Merged c:\Data\Dir1
mklink /J c:\Merged c:\Data\Dir2

Which doesn't actually work because C:\Merged cannot be created twice.

Or maybe there is an alternative way of dong this other than symlinks?

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

That's not how symbolic links work. (So the answer to your question is "No", at least not with symbolic links.)

What you are looking for is called a Union Mount - I'm not aware of any way to accomplish this on Windows, though it may be possible and I've just never seen it...

share|improve this answer
    
Nope, not possible with anything built-in to Windows. –  longneck Feb 19 '13 at 17:34
    
@longneck I don't think there's anything third-party either - it would be some pretty nasty filesystem hackery and I don't know anyone who would want to take that on in the Windows world... –  voretaq7 Feb 19 '13 at 17:36
    
Thanks for the answer. I think it safe to assume it is not possible then. –  NickC Feb 19 '13 at 19:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.