I have been writing about the sweet little tool Junctions before but it got somehow lost among more popular articles back then and I decided to give it another try. A Directory Symbolic Link is a link from another drive or directory to an existing directory. NTFS Junctions can be used for instance to access the folder d:\mp3 from a symbolic link in c:\mp3. Basically, you can access a folder on your hard drive from another location, like a virtual folder of sorts.
Junction was created by Mark Russinovich and is freely available on the Microsoft homepage. The software has a size of only 41K and can only be used from the command line. I'm using several NTFS junctions to be able to access my most important directories from several of my hard drives.
Let us take a look at the example from above and create a NTFS junction from c:\mp3 to d:\mp3. To create the junction you open the command line and write the following code: junction c:\mp3 d\:mp3. If the folder c:\mp3 does not exist it will be created by the command line tool.
You do not have to name them the same way. You could as easily create another junction that links from f:\music to d:\mp3 as well.
This is in my opinion a very nice way of being able to access folders from different hard drives easily. To delete a junction you use the code: junction -d c:\mp3
You should note that you can't use the root directory of a hard drive as the folder that you want to link to. You do need to specify at least one folder. It is also only possible to use junctions on ntfs hard drives.
Junctions are great for a number of purposes. From making a nested folder available in a better way to moving files from one drive to the other without losing any of the folders functionality.Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.