[python-win32] Re: Question on parsing Reparse Points

2009-03-20 Thread Roger Upole
The only way I know of is to call win32file.DeviceIoControl with FSCTL_GET_REPARSE_POINT, and unpack the buffer yourself. Roger import win32con, winioctlcon, winnt, win32file import struct def get_reparse_target(fname): h = win32file.CreateFile(fname, 0, win32con

Re: [python-win32] Question on parsing Reparse Points

2009-03-20 Thread Tim Golden
Philip Bloom wrote: Hello, This is my first post the python win32 programming list, so hello. I'm trying to figure out a way to tell where a Reparse Point () is really pointing programmatically. I can determine pretty easily a folder is a Junction (win32api.GetFileAttributes(folder)==1040), b