Home > Commands A-M > Commands F

FSUTIL HARDLINK


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

A hard link is a directory entry for a file. Every file can be considered to have at least one hard link. On NTFS volumes, each file can have multiple hard links, and thus a single file can appear in many directories (or even in the same directory with different names). Because all of the links reference the same file, programs can open any of the links and modify the file. A file is deleted from the file system only after all links to it have been deleted. After you create a hard link, programs can use it like any other file name.


Syntax

FSUTIL HARDLINK help

FSUTIL HARDLINK create new_filename existing_filename


Parameters
create (NTXP)
Establishes an NTFS hard link between an existing file and a new file. An NTFS hard link is similar to a POSIX hard link.
existing_filename (NTXP)
Specifies the file from which you want to create a hardlink.
new_filename (NTXP)
Specifies the file to which you want to create a hardlink.
help (NTXP)
Display help.

Switches

none.


Related

FSUTIL BEHAVIOR
FSUTIL DIRTY
FSUTIL FILE
FSUTIL FSINFO
FSUTIL OBJECTID
FSUTIL QUOTA
FSUTIL REPARSEPOINT
FSUTIL SPARSE
FSUTIL USN
FSUTIL VOLUME


Notes

none.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NTXP NT2003