fservida / gemino

gemino file duplicator
https://francescoservida.ch/gemino/
GNU General Public License v3.0
4 stars 0 forks source link

MAX_PATH limit on Windows #11

Open fservida opened 4 years ago

fservida commented 4 years ago

<3 Windows and the MAX_PATH limit. Software errors with file not found if path is more than 260 chars.

fservida commented 4 years ago

When run directly via python.exe the app already supports more than 260chars paths c.f.: https://docs.python.org/3/using/windows.html#removing-the-max-path-limitation

TODO

https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#enable-long-paths-in-windows-10-version-1607-and-later

fservida commented 4 months ago

Since v2.8.0 app is compatible with long PATHs as manifest now clearly shows supports on enabled systems. Might want to use \\?\ prefixes in future, but currently consider it sufficient fix.