[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-09-06 14:12:38 CEST

On 9/6/06, Ian Brockbank <Ian.Brockbank@wolfsonmicro.com> wrote:

> 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
> now.

As I said: NTFS knows long pathnames, but the shell (i.e. explorer)
doesn't. Paths in explorer are limited to MAX_PATH (256) chars.
Try it: write a script which creates a path with more than 300 chars.
Then try to browse to that path with the explorer :)

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Sep 6 14:14:28 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.