troubleshooting Question

Copy mutiple files from multiple folders

Avatar of PeterN
PeterN asked on
Visual Basic Classic
5 Comments1 Solution181 ViewsLast Modified:
I have many folders, each containg numerous files of different file type eg bmp, tif etc
I need to create a new folder for each existing folder (I have done this successfully).
However, I am now stuck. I need to go through all the old folders and copy all the files from each folder to the corresponding new folder.
The only method I can think of would be to open each old folder using Dir and then search through each folder again using Dir. I don't think you can nest Dir's?

Please can somebody assist me?
ASKER CERTIFIED SOLUTION
vinnyd79

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros