MAMEWorld >> The Loony Bin
View all threads Index   Flat Mode Flat  

Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4470
Loc: Melbourne, Australia
Send PM
Re: Windows 7 searches annoying limit for long filenames
09/09/14 02:14 PM


The whole MAX_PATH thing is infuriating. Because some applications depend on getting an error from APIs if a longer path is supplied, the ANSI APIs always return an error when attempting to use a path longer than this limit. The wide character APIs return an error unless you prefix the path with \\?\ in which case they will work with longer paths. You have to be really careful to remember this whenever dealing with paths or you'll end up not consistently working with paths longer than MAX_PATH. As you've discovered, Microsoft's own applications aren't great at supporting long paths. Particularly frustrating is the fact that .NET intentionally doesn't support long paths.






Entire thread
Subject Posted by Posted on
* Windows 7 searches annoying limit for long filenames Pi 09/09/14 12:25 PM
. * Re: Windows 7 searches annoying limit for long filenames Vas Crabb  09/09/14 02:14 PM
. * Re: Windows 7 searches annoying limit for long filenames Traso  09/12/14 02:33 AM

Extra information Permissions
Moderator:  GatKong 
0 registered and 103 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1979