Question: How to batch rename files? I have a bunch of mp3 files that media player has added numbers to at the beggining.  For example  01 title, 02 title, 03 title\n\nIs there a way to quickly remove these first 3 characters "##space" from all the files without having to right click, rename all of them?\n\nthanks

Answer: If you're using windows, the command prompt is very powerful and useful.  I assume that the 3 instances of "title" in your example represent 3 different names, right?  And that they all have the .mp3 extension, right? For a test, copy a few of the files to a new folder, open a command prompt window, and CD to that folder. \nOpen a text editor and type or copy/paste the following: \n@echo off\nif "%1"=="" goto main\nren "%1 %2" %2\ngoto  exit\n:main\nfor %%i in ("?? *.mp3") do call %0 %%i \n:exit\n\nNote there is a space between ("?? and *.mp3").\nSave the text as temp.bat in the new folder.\nIn the command prompt window, type "temp.bat" (no quotes) and hit enter.\nThis should rename any file in that folder whose name begins with 2 characters and a space; the new name should be the same with the initial two characters and space removed.\nIf this works you can CD to the folder containing all the files to be renamed, copy temp.bat to that folder and repeat the execution of temp.bat.
This question from the Yahoo Q&A forum is categorized in the topic: Politics & Government