does anyone know how to check if a file or directory is either a Symbolic Link, Junction Point, Mount Point or Hard Link?
As far as I know a symbolic links are detected by checking a file for its "ReparsePoint" attribute. Junction points are detected by checking a directory for the "ReparsePoint" attribute. So if the "ReparsePoint" attribute is set on a file it must be a symbolic link, otherwise if it's set on a directory it can only be a junction point...right?
Good so far, but I have still no idea how to detect "Mount Points" and "Hard Links". Can anyone tell me how to do this?