Reputation: 66
Here is my current folder structure:
C:\Invoices\**CustomerName**\January
I'm looking for a script that will go through ALL the CustomerNames and move the January folder to
C:\Invoices\**CustomerName**\2013\January
Thanks
Upvotes: 0
Views: 1492
Reputation: 24486
cd \invoices
for /d %%I in (*) do (
md "%%I\2013"
move "%%I\January" "%%I\2013"
)
Upvotes: 4