Vista Trick : Symbolic Links

June 17th, 2008 by Luc-Eric - Viewed 1033 times - Popularity: 27%




It’s possible to create symbolic links in Windows Vista just like in Unix. This is helpful if you need to make a directory or file appear to be in different location. In a command prompt:

  mklink /D d:\alias_location  d:\actual\location\of\directory

The /D stands for directory link, because file links are also supported. Even better, the link can be to a remote location.

  mklink /D d:\alias_location  \\server\share

Naturally, if you only wanted a drive letter shortcut, the old ‘subst‘ command still works.

One Response to “Vista Trick : Symbolic Links”

  1. Eric Cosky Says:

    For people using subst, I recently discovered that it isn’t compatible with the recycle bin; when deleting items on subst drives they are permanently deleted instead of being moved over. I’ll have to check mklink sometime for the same behavior but I wouldn’t be surprised if it does the same thing.

Leave a Reply