Symbolic links on windows

Sometimes it is useful to have a symbolic link - a link that behaves like it is a resource it links to (more info on symbolic links here). To create a symbolic link in windows use cmd and mklink command - its help actually says all that is needed ;)

For example:

mklink /H d:\link.txt d:\target.txt
will create a hardlink named link.txt on a drive d pointing to d:\target.txt; created link will appear as it was a file, not a link.

blog comments powered by Disqus