I know that IO.Directory.GetDirectories("X:/mydata/backup/stuff", "*", IO.SearchOption.AllDirectories) works for getting all directories, but I need to figure out how to not have the parent half attached to each string.
I need the output to be:
stuff/that/was/backed/up/file0.extstuff/that/was/backed/up/file1.extstuff/that/was/backed/up/file3.ext
Instead of:
X:/mydata/backup/stuff/that/was/backed/up/file0- etc.
The path can be anything, so I can't use a hard-coded solution either, like using Split(path, "/", 2) in the Application.StartupPath directory (which I currently use).