I have an issue where, in a recursive situation, I need the path of each file in a directory, but only from the top folder to the filename... not any system type files. Is there a way to set up an enum or "For Each" type of loop that would take off the part of the path that comes before the actual top directory of a path?
Example1: C:\Users\John\Desktop[My Files\My Subfiles\MyDocuments001.tif] where the brackets contain what I need to keep. Similarly, even in the same job, or if I browse to another directory to continue working on files there, it would do the same split regardless where the directory was on the computer:
Example2: C:\Users\John\Documents[My Other Files\My Other Subfiles\MyOtherDocuments001.tif]
This is in VB.net 2010.