thorner
asked on
Directory Search
I am trying to go through a directory structure and copy all of the files in each directory. I have it working so the files are copied but I can't figure out how to recursively search all of the directories.
ASKER
I want to be able to do it through the GUI. I just need to know how to go back a directory. I'm getting to the last directory and getting stuck. I've tried:
dirPath.Path = dirPath.List(DirPath.ListI ndex - 1). Obviousely that's wrong but I don't know why.
dirPath.Path = dirPath.List(DirPath.ListI
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SHELL( "XCOPY " & source & " /S /E " & target)
Also have ExecCmd that makes VB wait for child to finish before continuing.
Let me know if you want code to ExecCmd