title: File renaming batch script
body: <p>I'm trying to rename a bunch of files, and I can either do it by hand, or by a batch script. Batch script would be insanely easier.</p>
  
  <p>I need the script to rename all of the files in a folder to have a surname + index. So the output would look like sample1.exe and sample was the surname, with the index as 1. I also need this index to increment after each file has been named to avoid duplicates. I've searched google but don't know enough to put one of these together. Does anybody have any suggestions?</p>