title: Rename and move files in batch-dos
body: <p>I want to rename files and transfer them into a library using a batch file in the following way:</p>
  
  <pre><code>c:\jg_Folder_xy&gt;
  blabla01_000.bla --&gt; blabla01_001.bla
  blabla02_000.bla --&gt; blabla02_001.bla
  blabla03_000.bla --&gt; blabla03_001.bla
  
  c:\sj_Folder_mx&gt;
  blabla01_000.bla --&gt; blabla01_002.bla
  blabla02_000.bla --&gt; blabla02_002.bla
  blabla03_000.bla --&gt; blabla03_002.bla
  
  c:\an_Folder_kj&gt;
  blabla01_000.bla --&gt; blabla01_003.bla
  blabla02_000.bla --&gt; blabla02_003.bla
  blabla03_000.bla --&gt; blabla03_003.bla
  </code></pre>
  
  <p>and than transfer all into a new folder</p>
  
  <pre><code>c:\New_Folder&gt;
  blabla01_001.bla
  blabla01_002.bla
  blabla01_003.bla
  blabla02_001.bla
  blabla02_002.bla
  blabla02_003.bla
  blabla03_001.bla
  blabla03_002.bla
  blabla03_003.bla
  </code></pre>
  
  <p>anyone knows what is the most efficient way?</p>
  
  <p>NOTE: folders name have only one sub string in common</p>