I'm trying to copy files from one directory to another directory. I'm having issues recreating nested subdirectories.
Currently, my code grabs the subdir.Name property of a directory, and this works fine for one level of subdirectory for each directory. (ie Directory/subdirectory).
How can I get a substring of the qualified nested subdirectories? If I have Dir1/Sub1/Sub2/Sub3, I want to grab the substring "/Sub1/Sub2/Sub3" from the full path of Dir1.