|
Answer» Good afternoon to all, may I please ask for some help.
I have over 1000 folders named differently by date which contain the same number of text files all with the same NAME. I want to EXTRACT the same file from each different folder and CREATE the same folder structure somewhere else, however each folder only containing that particular file.
What I have
Folder1 -> a,b,c,d Folder2 -> a,b,c,d Folder3 -> a,b,c,d Folder4 -> a,b,c,d
What I want Folder1 -> b Folder2 -> b Folder3 -> b Folder4 -> b
I tried using a for loop in DOS together with the XCOPY command however I am not managing, any help would be much appreciated
Thanks
NoelDoes this do what you want?
Code: [SELECT]xcopy "c:\folder1\b" "d:\backup\" /s
|