[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Long path names in windows

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-10-28 03:11:16 CEST

Stefano Spinucci <virgo977virgo@yahoo.it> writes:

> Searching in microsoft site, I guess I found some text
> confirming the path limit to 260 chars (without
> difference from absolute or relative).

I've done recent searches around this too, and I'm afraid your
information is incomplete. If you use the Unicode versions of the
path-related functions we're discussing (CreateFile and friends), and
are on a Win2k or better version of the OS, you can get a 32k path:

   In the ANSI version of this function, the name is limited to
   MAX_PATH characters. To extend this limit to 32,767 wide
   characters, call the Unicode version of the function and prepend
   "\\?\" to the path. For more information, see Naming a File[1]

[1] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/naming_a_file.asp

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 28 03:13:39 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.