Batch rename folders?

Posted by Margaret on Super User See other posts from Super User or by Margaret
Published on 2012-04-12T05:04:34Z Indexed on 2012/04/12 5:33 UTC
Read the original article Hit count: 574

Filed under:

This is probably a super-simple already solved task, but:

I have a series of folders containing eBooks in various formats. They have the folder name format:

\Lastname, Firstname (n books)\

I want to rename each of the folders to be simply

\Firstname Lastname\

which I'm guessing can be done with a batch file fairly easily, but it's been a very long time since I had to do string parsing so I have no recollection of how.

Help? I'm using Windows 7.

© Super User or respective owner

Related posts about batch-rename