Vista Tip : How to create Symlinks in Vista
Symlinks or Symbolic Links are symbolic link ( also known as a soft link) consists of a special type of file that serves as a reference to another file or directory. This feature is availble finally in Windows Vista. You can create symlinks using the windows vista command line utility termed as “MKLINK”. Dont Miss New article written on Vista Tricks and Performance ( Click to read)
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.
Syntax for Symlink in Vista
MKLINK [ /D] | [/H] | [/J] Link Target
where [] stands for optional and / is used as option
- /D – Create a directory symbolic link ( soft link ). Default is file symbolic link.
- /H – Creates a Hard link ( link to a file ) .
- /J – Creates a directory junction
- LINK – Specifies a new symbolic link name
- Target – Specifies the path that the new link will refer to.
Example of Creating a symbolic link to directory
On command prompt, first navigate to the directory you want. Then ( Here I am at C directory )
- C:\ > mklink /D mySymDir D:\MyBlogData
The above example makes all the data in “C” directory available in D:\Myblogdata. Juts make a Dir in DMyblogdata and You will see all the files of C directory. You can also read how to make data of two directory availble ito one using symlink in vista. This can help you out to see data in one folder also.
Posted on 1st November 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

2 Comments »
Leave your response!