Link to home
Start Free TrialLog in
Avatar of Cook09
Cook09Flag for United States of America

asked on

Excel: Move files in a folder

Is there a way, using VBA, to have the code go two levels deep within a subdirectory and move the .mp3 files to the root directory that contain all of the folders.  There was a download from Kindle, which placed all the .mp3 songs within their respective folders (Artist, Album, songs).  It's very time intensive to copy and paste to a portable device.  How can this best be done with VBA?

Cook09
Avatar of Bill Prew
Bill Prew

Does this need to be done in VBA, would be a lot simpler in a DOS BAT script for example.

~bp
Avatar of Cook09

ASKER

Bill,
A BAT file would be fine...just trying to avoid a lot of manual work.

Cook09
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Cook09

ASKER

Bill,
I had to disengage last night and at the moment am at work, I'll give it try afterwards....thanks

Cook09
No worries, no rush from my side.

~bp
Avatar of Cook09

ASKER

Bill,
Excellent...ran just like it was supposed to.   Thanks for your help.

Cook09
Avatar of Cook09

ASKER

Ran right out of the box...first time...Thank You
Welcome, glad that was useful, thanks for the feedback.

~bp