Working with Windows Junctions in Python
Working with Windows Junctions in Python
I had to detect Windows junctions (similar but not identical to symbolic links) in Python. On stackoverflow.com I read the following Python code given by a user named eryksun for handling them, as os.islink() does not work for junctions. The routines access Windows functions CreateFileW(), DeviceIoControl(), CloseHandle() in kernel32. (more…)
View On WordPress










