py-ntfs icon indicating copy to clipboard operation
py-ntfs copied to clipboard

os.readlink returns empty string

Open sonictk opened this issue 11 years ago • 2 comments

Hi all; I've recently been looking around for a way to handle symbolic links in Python, and I chanced upon the lib here. However, while islink() works for me, readlink() does not; it always returns an empty string for me on Windows. I'm not that experienced with ctypes (or Python in general), so if there's any solution or something that I might have overlooked here, I'd appreciate any help! (Or even a hint! :D)

sonictk avatar Jan 15 '15 14:01 sonictk

Hmmm, symlinks really weren't a thing on Windows when I wrote this in 2012, so this doesn't support them. I'd be happy to take a PR with tests though!

sunshowers avatar Jan 10 '22 23:01 sunshowers