Hi guys,
Got a good question for you.
I'm trying to search a directory that have nested directories and target is to find some files.
and what is happening is Path longer than 248 char is throwing exception with GetFile() method of System.IO
I hope somebody have faced this problem. Any ideas how to search the files with path longer than 248 char.
Thanks.
Path longer than 248 char is throwing exception with GetFile() method of System.IO
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 12, 2011, 5:58 AM EST
http://blogs.msdn.com/b/bclteam/archive/2007/02/13/long-paths-in-net-part-1-of-3-kim-hamilton.aspx
http://bcl.codeplex.com/wikipage?title=Long%20Path&referringTitle=Documentation
if you have better than this then please share.. i'll appreciate that.
Thanks