Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System.IO.DirectoryInfo Path Limit

Status
Not open for further replies.

btaber

Programmer
May 26, 2002
307
0
0
US
I am hitting a wall with System.IO.DirectoryInfo. I have folders that run beyone 248 characters and the limit for it is 248. Is there another function I can use to read my folders?
 
Unless I'm mistaken, the 248 limit is hardcoded. I haven't tried this, but one possible solution is to map a drive to a deeper location.

Let's say you want to get to "C:\1\2\3\4\5\6" (pretend it's longer). If you map q: to c:\3 the q: would contain 4\5\6 (and so forth).
 
Interesting idea, just might work... I will have to try... thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top