title: How to process a list of files in a batch file
body: <p>I have to write a windows batch script that performs the following
  take a folder as a input variable
  take a list of filenames as an input variable
  take an output folder as an input variable</p>
  
  <p>then 
      foreach file in the list
         if filename exists in the input folder
              copy file from input folder to output folder
         else
              issue  some kind of warning</p>
  
  <p>As I have never written a batch file I would really appreciate some help as I have no idea where to start</p>
  
  <p>Many thanks</p>