NTFS reparse points

Roel Schroeven rschroev_nospam_ml at fastmail.fm
Thu Nov 3 11:47:21 EST 2005


Stanislaw Findeisen wrote:
> I want to create a reparse point on NTFS (any).
> 
> Here
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/reparse_points.asp)
> I read: "reparse points are used to implement NTFS file system links".
> Here
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/hard_links_and_junctions.asp)
> I read: "Soft links are implemented through reparse points".
> 
> However I can't see FILE_ATTRIBUTE_REPARSE_POINT turned on in any file /
> directory shortcuts I create. In fact the only attribute set in
> shortcuts created using Windows Explorer is FILE_ATTRIBUTE_ARCHIVE. (I
> am using GetFileAttributes() to examine this.)
> 
> The questions are:
> 
> (1) Why is that so?

Because shortcuts aren't reparse points. They're just small files that
contain some information about the file or directory they point to and
how to open it.

-- 
If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton

Roel Schroeven



More information about the Python-list mailing list