title: Batch print PDF files listed in a text file
body: <p>Hello I am new to CMD but I would like to make a batch printing solution. </p>
  
  <p>I know that using:</p>
  
  <pre><code>"C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" /t "C:\file_1.pdf"
  </code></pre>
  
  <p>I can print file_1.pdf but what I really need is to print multiple files, let's say file_2, file_3... file_n, therefore my instruction will change to: </p>
  
  <pre><code>"C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" /t "C:\XXXX.pdf"
  </code></pre>
  
  <p>I thought about making a TEXT file where I could write the name of the files that I need to print. Then in a batch file make a loop that will read each line of the TEXT and change my variable XXXX for the name of the file specified in each row of the TEXT. </p>
  
  <p>Is this possible? I'm not stupid and I learn fast so, if any body can point me in the right direction of how to do variables in batch files, and how to read information form a TEXT it would be fantastic. </p>