On Tue, 6 Jul 2021, Corinna Vinschen wrote: > This looks like here be dragons. A good solution would change the > used native tools to allow paths > MAX_PATH finally, or to use other, > equivalent tools already allowing that.
BTW, this seems pretty unlikely. Portable tools are most likely using C or C++ standard library file IO, not native Windows APIs, and while MS did add an option to remove MAX_PATH limits from normal Win32 file/directory APIs without the '\\?\' passthrough to NT trick [1], there are a lot of hoops to jump through, and it would be hard to guarantee a whole stack of libraries that might be linked in would be able to handle it. [1]: https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation#enable-long-paths-in-windows-10-version-1607-and-later