Accessing long filesystem paths using Python
Fritjof Bornebusch
fritjof.bornebusch@prover.com
Fri Nov 4 12:15:45 GMT 2022
Hi,
I need to write files whose path exceed the maximum value of 260 characters.
Using Windows paths, you can add \\?\ as prefix, e.g., \\?\C:\Users\foo\bar\<file://%3f/C:/Users/foo/bar/>....
However, it seems like this is not the case in Cygwin. When I use \\?\/home/foo/bar<file://%3f/home/foo/bar>, I get no file pointer back.
Does someone have a clue how I can bypass this?
Best,
Fritjof
More information about the Cygwin
mailing list