Re: merge 100+ multiple folders into one! How? Robocopy? Xcopy?
"edwardtilbury" <email@example.com> сообщил/сообщила в новостях следующее: news:firstname.lastname@example.org...
> Is there an easy way to merge 100 directories into a single directory?
> (without writing a long batch file)
> I was thinking ROBOCOPY or XCOPY would do the trick..
> I also tried using the search function of the file manager GUI in
> Vista, but after it found 1000+ files and tried to move them, it would
> just "hour glass" for 8+ hours.
What your folders' configuration looks like? Is this: <pre>
+- Folder B
| +- File 1
| +- File 2
+- Folder C
| +- File 3
| +- File 4
+- Folder D
. . . . . . .
</pre>, and you need File 1, File 4, etc "in Folder A\My new folder\"?
Then I think this commands would be of help:
md "My new folder"
for /D %i in (*) do move "%i\*" ".\My New Folder"