Quote:
Originally Posted by nabsltd
Modern (Windows 7 and beyond) Windows path functions support 255 characters per directory and a total path of 65K characters.
Since Calibre hasn't run on Windows XP for over 100 releases, it should be using all modern path functions.
|
Windows XP also has those modern path functions (though technically speaking, they aren't different functions, just different parameters to the same functions). The problem is not the lack of windows API support for long paths it is that lots of windows software, including windows explorer cannot access paths larger than the old limit.
I dont know why this meme persists on the internet that modern windows has somehow magically learned how to handle long paths. Support for long paths in windows is over a decade old. As of Windows 10 there is now a user controllable registry setting for enabling the old API to also access long paths, but that is totally useless for calibre since something that depnds on a registry setting is not robust.
https://msdn.microsoft.com/en-us/lib...7.aspx#maxpath