Add max_depth parameter to File.GetFiles and File.GetDirectories
complete
Voltaism
Adds a new max_depth parameter for subfolders searching
-1 by default search all subfolders
0 only files/directories in the specified directory
1 allow to go into 1 subfolder for each directory there
and so on
You generally only want files inside one folder, not everything. So it would be better for performance.
And also to make a map of files into a table respecting the structure it would be easier.
GTNardy
complete