This can be done easily with Powershell:
Get-ChildItem -Directory | ForEach {Rename-Item $_ "$_ 2015"}
if you want to do this recursively down a folder tree (sub folders) add "-Recurse" after -directory.
What this essentially does is:
- Get-ChildItem (Get all items in current folder)
- -Directory (limit search to folders)
- | Pipe (send) results to next command
- ForEach {} (For each folder found)
- Rename Item $_ "$_ 2015" (Rename the folder to the same name with " 2015" on the end)
In this case $_ is the curent object sent fromthe first command to the second (list of folders), and then represents each sub-object (each folder) inside the ForEach.
Remember to cd to your base folder first else you'llbe trying to rename the wrong folder.. and if you execute this within C:\windows\system32 or similar, you're in trouble! (cd C:\users\me\documents\top_folder)
This is tested on windows 7, but the syntax may be slightly different for other windows versions. If you can tell me which version of windows you have, I'll give you another one-liner to use.
Also.. bear in mind that if you run it repeatedly, you'll end up with "my folder 2015 2015 2015 2015 2015" and it'll be a pain to clean up
Hope this helps