2 ms·
The maximum path length of the NT kernel is 3276-something UCS-2 characters. 260 is a limit imposed by the legacy Win32 interfaces IIRC. I believe the W-interfa
by mauvehaus 4y ago
The maximum path length of the NT kernel is 3276-something UCS-2 characters. 260 is a limit imposed by the legacy Win32 interfaces IIRC. I believe the W-interfaces get you the full-fat version, it's just that they're so inconsistently used as to all but guarantee that something you need will have problems.
The user-mode stuff is kind of a mess. The kernel-mode stuff is comparatively orthogonal.
- magicalhippo 4y agoYou also have to prefix[1] the path with \\?\ unless you've enabled a group policy[2] in Windows 10+. [1]: https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea#parameters https://learn.microsoft.com/en-us/windows/win32/api/fileapi/... [2]: https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#maximum-path-length-limitation https://learn.microsoft.com/en-us/windows/win32/fileio/namin...