[python-win32] (no subject)

Mark Hammond skippy.hammond at gmail.com
Sun Nov 6 23:06:51 CET 2011


On 6/11/2011 11:33 PM, Michel Claveau wrote:
> Hi!
> In win32con, I do not found this constant: FILE_ATTRIBUTE_REPARSE_POINT
> = 1024 # 0x400
> Exemple of use:
> import ctypes
> rep=u"C:\\web\\fichiers"
> FILE_ATTRIBUTE_REPARSE_POINT = 1024 # 0x400
> vret = ctypes.windll.kernel32.GetFileAttributesW(rep)
> if vret & FILE_ATTRIBUTE_REPARSE_POINT:
> print "JUNCTION"
> else:
> print "REPertoire"
>
> is it possible to add it (in next version of) Pywin32?

Yep - it is already in source control.

Mark


More information about the python-win32 mailing list