Geeks With Blogs
BizTalk Blog by Chris Han System Design for Enterprise Agility,
January 2010 Entries
How to copy all files in subdirectories without directory structure
It all started with letting iTunes "organize" my video files. For some reason, it decided to create a subfolder for each of my files. Errrrrrr! Now I'm looking for a way to copy the files in subdirectories back to a single directory. By some online searching and error-trial, here's my solution: For /r %d "C:\source dir" in (*) do copy "%d" "E:\dest dir" It's different than a suggested solution I found online something like: For /r %d "C:\source dir" in (.) do copy %d\* "E:\dest dir" However the period ......

Posted On Wednesday, January 6, 2010 9:54 PM

Copyright © Chris Han | Powered by: