Hi,
So, I am building a Permissions Crawler for shared drives, which by its nature, needs to recurse through a potentially deep directory structure. My app is working swimmingly, until I try to call:
System.IO.Directory.GetDirectories(strCurrFolder)
When strCurrFolder is =
Y:\ABC\ABC Corporate Record\PMO\Records_Management\1014 - COE - RIM Foundation 2006\5 Reference Material From Client\COE - Internal reference - Backup from server 2007 Feb 2\Corporate Records Management Services\Position Descriptions\Omnixxx Systems Administrator
So, effectively GetDirectories is throwing a PathTooLong Exception. Can someone tell me how to get around this??
Thanks,
Andrew
So, I am building a Permissions Crawler for shared drives, which by its nature, needs to recurse through a potentially deep directory structure. My app is working swimmingly, until I try to call:
System.IO.Directory.GetDirectories(strCurrFolder)
When strCurrFolder is =
Y:\ABC\ABC Corporate Record\PMO\Records_Management\1014 - COE - RIM Foundation 2006\5 Reference Material From Client\COE - Internal reference - Backup from server 2007 Feb 2\Corporate Records Management Services\Position Descriptions\Omnixxx Systems Administrator
So, effectively GetDirectories is throwing a PathTooLong Exception. Can someone tell me how to get around this??
Thanks,
Andrew