Possible Duplicate:
How can I mass rename files from the command line?
i have some folders of files i want to rename. the general structure of the file is
/root
/module 1
/chapter 1
/01 Intro.wmv
/02 Topic.wmv
...
/chapter 2
/01 Intro.wmv
/02 Topic.wmv
/chapter 3
/module 2
/chapter 4
/chapter 5
/chapter 6
...
i want to batch rename files and move them to the /root directory with the specified format below
01 01 Intro.wmv
01 02 Topic.wmv
02 03 Intro.wmv
^ this is the chapter number
^ this is the module number
can i use a batch script to do this? i am on windows 7. or what tool can i use to achieve this?
