Windows – hardlinks on ntfs with windows

hardlinkntfswindows

How can I create hardlinks for a file on an NTFS partition using Windows?

NTFS can obviously handle hardlinks, since creating them with NTFS-3g works – the links even work in Windows. Is this the only way to create hardlinks on NTFS?

Best Answer

cmd includes the mklink command which can create hardlinks:

Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

/D Creates a directory symbolic link. Default is a file symbolic link.

/H Creates a hard link instead of a symbolic link.

/J Creates a Directory Junction.

Link specifies the new symbolic link name.

Target specifies the path (relative or absolute) that the new link refers to.

Furthermore, the excellent Far Manager has support for creating them (Alt+F6).

There are also a number of shell extensions that allow for doing so.

Related Question