Quoting David Lichteblau <david@...>:
> - That predicate is probably just (<= (length x) 259).
> (The part of the MSDN docs that I don't fully understand is the
> requirement on directories to not exceed MAX_PATH minus 12 though.)
Finally, something I can contribute to the discussion!
In 8.3 naming, a filename can be 12 characters long. That's why the
restriction. Otherwise, you could create directories that couldn't
contain files, or only contain files of shorter than standard length.
And to think, we're still having to handle a bad decision on
Microsoft's part on how to bridge the gap between 8.3 filenames, long
filenames, and Unicode fielnames. (Heck, in WinXP, the Explorer won't
let me create a directory with a trailing . It just truncates it off
for me. How nice.)