title: Detect Symbolic Links, Junction Points, Mount Points and Hard Links
body: <p>does anyone know how to check if a file or directory is either a <strong>Symbolic Link</strong>, <strong>Junction Point</strong>, <strong>Mount Point</strong> or <strong>Hard Link</strong>?</p>
  
  <p>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?</p>
  
  <p>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?</p>