[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework

How to use in .Net path longer than 260 characters

Francisco

4/23/2008 5:22:00 PM

Hello all,

I'm trying to use paths longer than 260 characters, but the classes
I've used like System.Directory seems to lack support of NTFS long
paths like:

\\?\d:\test
or
\\?\UNC\testmachine\testshare

Can anybody give me any clue on that?

Thanks in advance
1 Answer

Tom Shelton

4/23/2008 5:58:00 PM

0

On 2008-04-23, Francisco <fjgonzalez@arion.es> wrote:
> Hello all,
>
> I'm trying to use paths longer than 260 characters, but the classes
> I've used like System.Directory seems to lack support of NTFS long
> paths like:
>
> \\?\d:\test
> or
> \\?\UNC\testmachine\testshare
>
> Can anybody give me any clue on that?
>
> Thanks in advance

Not really a work around, but here is at least an explanation of why it
works the way it does:

http://blogs.msdn.com/bclteam/archive/2007/02/13/long-paths-in-net-part-1-of-3-kim-ham...

Part 2 has some workarounds.

--
Tom Shelton