How to get the File ID of a file or folder in on Windows 10 command line?


I want to know the File ID (on Linux etx-filesystem it would be called Inode number) of some files on Windows 10. Could be in a gui but would be better on command line.

A workaround would be to use bash (e.g. git-bash or cygwin) with ls -i. But I would prefere a windows specific solution.


Using the Windows command prompt

fsutil file queryfileid <filename>

Looks like that wildcards not supported.

Answered By – buhtz

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published