title: Reading a text file line by line in a batch or VBS script?
body: <p>I have a text file that contains a list of filenames, minus the extension, that I need to create.  I want to run a quick batch file command or VBS script that will iterate through the list and then create a file based on the name.</p>
  
  <p>The text file looks something like this:</p>
  
  <pre><code>PRXI0000466
  PRXI0000564
  PRXI0000636
  PRXI0000681
  PRXI0001092
  </code></pre>
  
  <p>So I want to loop through each line, then do an "<code>echo . &gt; %file%.txt</code>" (assuming <code>%file%</code> contains the line from the text file).</p>
  
  <p>Can anyone show me a quick way to do this?</p>