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

RE: Re: Problems with the the length of names and Windows

From: Ian Brockbank <Ian.Brockbank_at_wolfsonmicro.com>
Date: 2006-09-06 13:49:36 CEST

Hi Guys,

> > Not quite correct: pathnames on NTFS can be up to 32kbytes long.
But the
> > shell (i.e. explorer, desktop) can only deal with pathnames up
> > MAX_PATH characters (which is defined as 256).
> >
> >
> > Thanks for the clarification. Anyone know if Vista allows paths >
256? A
> > few minutes googling didn't turn up anything useful.
> The API's haven't changed, so my guess is that the explorer doesn't
> support such paths even in Vista.

I'm not sure if this passes through to the Shell, but the standard
Unicode Win32 APIs on NT+ accept long pathnames if they start \\?\ .
See http://windowssdk.msdn.microsoft.com/en-us/library/ms687127.aspx.

Okay, a bit of testing in Explorer complains when I try this syntax.
I'll try it again once I get round to installing Vista. I'll shut up


Ian Brockbank
Senior Applications Software Engineer - Corporate
e: ian.brockbank@wolfsonmicro.com / apps@wolfsonmicro.com
scd: ian@scottishdance.net
t: +44 131 272 7145
f: +44 131 272 7001

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Sep 6 13:49:55 2006

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

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