Sunday, July 12, 2015

Create symbolic link in Windows

Linux users may have familiar with ln command, in Linux ln command is used to create a symbolic link.

Here is the example of ln command usage:

ln -s my-original-file my-symbolic-link

For more information about ln command, you can read in here: http://linux.die.net/man/1/ln or just type man ln  in your Linux console.

How about windows users? Don't worry, Windows also has command that can be used for similar purpose like ln command in Linux, the command name is MKLINK. Here is the usage of MKLINK command:

mklink /H my-symbolic-link my-original-file

For more information about MKLINK command, please open the following link: https://technet.microsoft.com/en-us/library/cc753194.aspx