4 ms·
I'm curious how one gets long names from a windows pc given the path length limits on windows https://stackoverflow.com/a/1880453 https://stackoverflow.com/a/18
by vbarrielle 8y ago
I'm curious how one gets long names from a windows pc given the path length limits on windows https://stackoverflow.com/a/1880453 https://stackoverflow.com/a/1880453
Maybe I'm not understanding that limit correctly but it looks like the whole path cannot be longer than 260 characters. I've hit that limit when transferring files from linux to windows.
As you mention, the linux limit is in bytes, so the issue could appear in some character sets, but it still looks like the path limits are a lot more drastic under windows.
- kkarakk 8y agounicode version of windows api lets you do longer paths -upto 30k(it is transparently handled in windows explorer) example of a function that uses it- https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-findfirstfilea https://docs.microsoft.com/en-us/windows/desktop/api/fileapi...