max file name length?
C / C++ / MFC
5
Posts
3
Posters
0
Views
1
Watching
-
Is there a max file name length for all files (to make sure a char buffer is always large enough)? I was assuming it was MAX_PATH but is that just for the path part and the fully qualified name can be longer? - thanks.
Paths can be longer although most code assumes they can't. See here. Look for "\\?\". Steve -- modified at 19:58 Thursday 19th January, 2006
-
Paths can be longer although most code assumes they can't. See here. Look for "\\?\". Steve -- modified at 19:58 Thursday 19th January, 2006
-
Oops. I fixed the link. Steve
-
Is there a max file name length for all files (to make sure a char buffer is always large enough)? I was assuming it was MAX_PATH but is that just for the path part and the fully qualified name can be longer? - thanks.