title: Rename all files in a directory with a Windows batch script
body: <p>How would I write a batch or cmd file that will rename all files in a directory? I am using Windows.</p>
  
  <p>Change this:</p>
  
  <pre><code>750_MOT_Forgiving_120x90.jpg
  751_MOT_Persecution_1_120x90.jpg
  752_MOT_Persecution_2_120x90.jpg
  753_MOT_Hatred_120x90.jpg
  754_MOT_Suffering_120x90.jpg
  755_MOT_Freedom_of_Religion_120x90.jpg
  756_MOT_Layla_Testimony_1_120x90.jpg
  757_MOT_Layla_Testimony_2_120x90.jpg
  </code></pre>
  
  <p>To this:</p>
  
  <pre><code>750_MOT_Forgiving_67x100.jpg
  751_MOT_Persecution_1_67x100.jpg
  752_MOT_Persecution_2_67x100.jpg
  753_MOT_Hatred_67x100.jpg
  754_MOT_Suffering_67x100.jpg
  755_MOT_Freedom_of_Religion_67x100.jpg
  756_MOT_Layla_Testimony_1_67x100.jpg
  757_MOT_Layla_Testimony_2_67x100.jpg
  </code></pre>