Archive for February, 2017

(Symbolic) links in Windows

Windows has a concept in the NTFS filesystem that is quite similar to symlinks in Linux/Unix. Interestingly, these things have exotic names like reparse points and junctions. So for someone who is familiar with Linux/Unix terminology, the following mapping applies roughly:

  • Symbolic link == reparse point

In Linux/Unix, created with the command:
ln -s [target] [linkname]
In Windows (I think 7+), created with the command:
mklink [target] [linkname]
be aware though that for directories, you need to call the /D parameter in Windows.

  • Hard link == junction

In Linux/Unix created with the command:
ln [target] [linkname]
In Windows, created with the command:
mklink /J [target] [linkname]
again, don’t forget the /D for directories.

via https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/

Thursday, February 16th, 2017 Uncategorized No Comments