title: Batch file rename reading old file name and new file name from a txt file
body: <p>I have done some searching and reading but I have not been able to find a solution.  I apologize if this issue is already answered on the forum.  Here is what I want to do:</p>
  
  <p>I have many 1000's of files that I need to rename.  I can easily create a .txt file that lists the old file name and the new file name as follows:</p>
  
  <blockquote>
    <p>oldfilename1.ext newfilename1.ext<br>
    oldfilename2.ext newfilename2.ext<br>
    oldfilename3.ext newfilename3.ext</p>
  </blockquote>
  
  <p>etc......</p>
  
  <p>The actual file names will be as follows:</p>
  
  <blockquote>
    <p>TKP-RL-MB-00205-001.pdf SDY-352-20009SA10BA-RXW03-001.pdf<br>
    TKP-RL-MB-00060-004.pdf SDY-352-20010SA10BA-RXW03-004.pdf  </p>
  </blockquote>
  
  <p>etc....  </p>
  
  <p>I would like a batch file that reads the two names from the txt file and renames the file from the old name to the new name.  The batch file will be located in the same directory as all the files with the old file name.  I don't need functionality to check if the old file exists unless that functionality is essential to the batch file working.</p>
  
  <p>I am working in <code>Microsoft Windows 7</code> so I have <code>cmd</code> and <code>Powershell</code> at my disposal.</p>
  
  <p>Your help is greatly appreciated.</p>
  
  <p>Thank you</p>