In Python, the u'\\\\?\\'
syntax can be used to access long filenames on Windows as mentioned here. However, this doesn't work on network shares that don't begin with a drive-letter. Is there a workaround to make this work on a network share, that is smarter than our existing approaches?
Working but non-ideal approaches are
- Copying files locally and use the magic syntax
- Auto mount/unmount network share, use magic syntax