ZTree.com  | ZEN  | About...  

 Index   Back

[Bug?] Error when creating long paths   [Zeta]

By: Juergen Hestermann       
Date: Jul 16,2008 at 12:05
In Response to: [Bug?] Error when creating long paths (Kim Henkel)

> So, what were you expecting? ;-)
> I never claimed it could log paths of any arbitrary length, only that it
> could overcome the MAX_PATH (260) character limit.

I was expecting what is documented here: http://msdn.microsoft.com/en-us/library/aa365247.aspx

The Windows API has many functions that also have Unicode versions to permit an extended-length path for a maximum total path length of approximately 32,000 characters. This type of path is composed of components separated by backslashes, each up to 255 characters in length. To specify an extended-length path, use the "\\?\" prefix. For example, "\\?\D:\". (The characters < > are used here for visual clarity and cannot be part of a valid path string.)


Thread locked

Messages in this Thread

93,458 Postings in 11,779 Threads, 347 registered users, 14 users online (0 registered, 14 guests)
Index | Admin contact |   Forum Time: Mar 22, 2018 - 9:49 am EDT  |  Hits:24,923,944  (1,849 Today )
RSS Feed