troubleshooting Question

File path too long reading recursive files and folders

Avatar of David Bird
David BirdFlag for United States of America asked on
.NET Programming
3 Comments1 Solution316 ViewsLast Modified:
I have inherited a windows 2003 SBS server network where over the years literally millions of files have accumulated. Moving/archiving them to the new server fails because many files are over 300 characters in the path and file name.  I am unable to run my code against the folder tree as it fails when it hits one of these files.  I don't want to trap the error and skip it. It's those files specifically I'm looking for.  While secondary but not entirely rhetorical, to me it begs the question, how were the files ever written in the first place?
I would appreciate any help on how to, via vb.net if possible, read the folder tree and store it in a data table so that we can access and rename these files to a reasonable length and move them off of the server.

thanx.
daver
ASKER CERTIFIED SOLUTION
David Bird
Owner

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros