Merge all folder into one folder in Windows

Awalnya ada yang suggest caranya dengan melakukan rename semuanya. Tapi ternyata cara itu justru rename semuanya dengan indexing (1), (2), (3), dst. Setelah gugling akhirnya nemu juga cara yang lebih imbanya :

***

What your folders’ configuration looks like? Is this:
Folder A
+- Folder B
| +- File 1
| +- File 2
+- Folder C
| +- File 3
| +- File 4
+- Folder D
. . . . . . .
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”

***

reference

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s