INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: GHammer on June 21, 2006, 10:16:11 pm

Title: Path Length Restriction and Unicode?
Post by: GHammer on June 21, 2006, 10:16:11 pm
I recall a few problems with too long paths.
A tool I use claims this:

"The 256 characters path limit is now GONE thanks to Unicode. The file and paths names can now be up to 32000 characters long."

If accurate seems to be something worth doing.
Title: Re: Path Length Restriction and Unicode?
Post by: Matt on June 21, 2006, 11:33:11 pm
That's only half true.

Windows itself (Explorer.exe, etc.) has all sorts of problems with files longer than MAX_PATH. (260 characters)

In fact, you need to trick Explorer to make a filename that exceeds MAX_PATH.

So, it's technically possible to make very-long filenames, but I'd argue it's not a real good idea if compatibility (even with Windows) is important to you.
Title: Re: Path Length Restriction and Unicode?
Post by: GHammer on June 21, 2006, 11:40:30 pm
True enough.
Title: Re: Path Length Restriction and Unicode?
Post by: hit_ny on June 22, 2006, 03:14:23 am
Need to cook up an expression that can flag [Filenames] over 250chars as danger items in need or a trim.