Take the 2-minute tour ×

I know I can use the command

fsutil hardlink <new_file> <existing file>

To create a hard link from the command prompt.

My question is: is there a command line tool that will allow me to see whether two files are hard linked, similar to ls -i in unix?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

Check out the HLScan tool from MS.

"Displays hard links on an NTFS volume or in specified files or directories of the volume."

It's part of the Windows resource kit(s).

Here's a direct link to download the Windows 2000 version of JUST that utility (it works on XP).

You can probably dig up the XP or 2003 specific Resource kits by searching MS's download site; those may have a newer version of the utility in them.


share|improve this answer
nice tool, thanks. although it doesn't show the destination, only that the file is hard-linked and the count –  Amro Feb 15 '13 at 13:17

fsutil will show them without a download (and it will work on Windows 7)

fsutil hardlink list <filename>
share|improve this answer
FYI, on WinXP list command is not supported (only create) –  Amro Feb 15 '13 at 13:15

Your Answer


