Sorry first time I didn't fix the File extention, here I split everythgin out into simple steps, obviously you can combine several of these into one if you like. I hope you like it =) -Ben
:: Set the date to the format you desire once and store it as a variable
::Start a Loop which goes to a subroutine through a 'call' function (This allow you to assign variables..
FOR %%V IN (%1) DO Call :DoLoop
::Start your complex processing inside this lable so that you can do as many lines as you line inside your loop
:: Set Single-sided variable to double-sided variable
::Double-sided variable manipulation to get the original file's extention and name separated
::Build the completed new file Name from the variables already assigned
::Run your rename command
Rename %OFullFileName% %NFullFileName%
::Exit the sub routine, allowing you to continue your loop.