January 10, 2017

Windows hard link and soft link (somewhat similar to Linux symlink)

Hard Links

A hard link is the file system representation of a file. Any changes to that file are instantly visible to applications that access it through the hard links that reference it.

Junctions

A junction (also called a soft link) differs from a hard link in that it references the target directories, as opposed to a single file.

Command :

mklink /H destination-file-address target-file-address
mklink /J destination-folder-address target-folder-address