dos rename in bulk

Hello,

I have a bunch of mp3 files that I want to rename.
example:
01 - Gypsy Soul - Superstition Highway - Who_.mp3

I want to rename this

Gypsy Soul - Superstition Highway - Who_.mp3
webquestsAsked:
Who is Participating?
 
Lee W, MVPConnect With a Mentor Technology and Business Process AdvisorCommented:
Create a copy of a few and test them with this:

FOR /f "tokens=1,2,3,4 delims=-" %a in ('dir /b *.mp3') do ren "%a-%b-%c-%d" "%b-%c-%d"

(run this single command on the command line from the directory where the mp3 files are located).
0
 
keamoCommented:
I've used a product call "Namewiz".  It works well.

http://softbytelabs.com/us/downloads.html
0
 
KirrilianCommented:
If you decide to run this in a script, change all the %variables to %%variable. So %a would become %%a.

Also, all the files have to be named the same for this script to work


0
 
KirrilianCommented:
I had just finished my script leew but you beat me to the punch :(
0
 
webquestsAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.