abcserve
asked on
Retrieve all files from Windows based folder structure with random folder depth-- VB.NET 2012
I need to retrieve files from a directory/folder structure that has files and folders at extreme ends of folder depth. All folders will start with (as an example)...H:\Staging\Acqu istion_Sta ging\..... Folder depth after this initial start are anywhere between 1 and 8 folder levels deep. A mix of files and folders may be at the same folder level. I can retrieve/process files when I know the folder depth and when files are at the same level as as the known folder level. The situation I am in has over 7500 files in over 950 folders where the folder depth is inconsistent (ranging from 4 to 11 levels deep). What I am trying to determine is how I can automatically retrieve a file when I do not have a known folder depth. Is there a way determine the depth of any given folder? Any direction on this is appreciated.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the quick feedback on my question. Would like to give you both 500 points.
ASKER