Windows 2000 Directory Links Using LINKD.EXE >>
<< Eclipse某些plugin无法正常启动的原因
fsutil hardlink create

Author Zhou Renjian Create@ 2004-12-22 10:50
whizz Note icon

Fsutil: hardlink

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 create NewFilename ExistingFilename

Top of pageTop of page

Parameters

create : Establishes an NTFS hard link between an existing file and a new file. An NTFS hard link is similar to a POSIX hard link.

NewFilename : Specifies the file to which you want to create a hardlink.

ExistingFilename : Specifies the file from which you want to create a hardlink.


http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/fsutil_hardlink.mspx

But this command is just for file not for folder.
本记录所在类别:
本记录相关记录: