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?

@-salutations
-- 
Michel Claveau 

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to