How to use in .Net path longer than 260 characters

  • Thread starter Thread starter Francisco
  • Start date Start date
F

Francisco

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
 
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-hamilton.aspx

Part 2 has some workarounds.
 
Back
Top