4 ms·
> I always thought this limitation came from NTFS, or at least a previous version of. NTFS allows paths up to 32767 UTF-16 code units (after expansions) with e
by masklinn 13y ago
> I always thought this limitation came from NTFS, or at least a previous version of.
NTFS allows paths up to 32767 UTF-16 code units (after expansions) with each path component (between `\` separators) up to 255 code units, and this is available through UNC paths.
MAX_PATH is a Windows API limitation, and thus a limitation implicitly inherited by many windows-based software which use MAX_PATH as storage limits and buffer sizes.
Changing filesystem will not fix WinAPI issues.
- ygra 13y agoI wonder whether there was a right answer at the time MAX_PATH was conceived. It certainly is nice to have a hard upper bound for buffer sizes path API functions will fill and 32k would be a bit large to use by default.