@INODE[filename] : Returns the inode (in hex) for the specified file.

 

When files are hard-linked to one another (see MKLNK), they share the same inode.

@INODE may not work for remote files (depending on your network redirector and the type of server you are querying).

Example:

echo %@inode[c:\windows\explorer.exe]

00040000:000199D3