THE SQL Server Blog Spot on the Web

Welcome to - The SQL Server blog spot on the web Sign in | |
in Search

Andrew Kelly

Junctions in Windows

I had known for a while that as of Windows 2000 there was a way to create what I called a Drive Shortcut but I never could find the documentation on how to actually do it. It turns out this was included in the resource kit which is probably why i never stumbled across it. But I still get asked on a regular basis if it is possible to map a specific folder location to a logical drive letter similar to the way you map a networked share. The idea being that it would look like any other drive except it would actually point to a much longer or obscure physical mapping. Well I just saw a post from Mark Russinovich that talks about his utility called Junction that allows you to do this very easily without the resource kit. Windows Vista has a neat little feature in the Windows Explorer that allows you to map folder locations as a favorite but from what I can see you still need something like this to make it visable from other places outside Windows Explorer as well.


Published Tuesday, August 21, 2007 9:43 AM by Andrew Kelly

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS



jake ballard said:

Vista has a utility called mklink for creating hard links, symbolic links, and junctions built in. mklink /? for usage.

August 21, 2007 12:28 PM

Andrew Kelly said:

Thanks, that is good to know.

August 21, 2007 12:47 PM

jake ballard said:

Vista actually uses a lot of junctions to maintain backward compatibility for some of the renamed folders. For example if you 'dir /a:HD' on C: you will see that there still is a hidden "documents and settings" folder that is a junction to C:\users. There are a lot in the individual profiles themselves also.

August 21, 2007 2:10 PM

Leave a Comment


This Blog


Privacy Statement