title: copy list of files in a specified location
body: <p>I need to go through a list to copy the specified files into another location.<br>
  This is the used .bat file:</p>
  
  <pre><code>for /f "delims=" %%i in ('C:\Users\Documents\test\data\list_1.4.txt') do copy "C:\Users\Documents\test\data\Golden\%%i" "C:\Users\Documents\test\data\data_1.4"
  </code></pre>
  
  <p>But this does not work.<br>
  Any help?</p>
  
  <p>I tried this too</p>
  
  <pre><code>@echo off
  set src=C:\Users\Documents\test\data\Golden
  set dst=C:\Users\Documents\test\data\data_1.4
  set file=C:\Users\Documents\est\data\list_1.4.txt
  
  for /F "usebackq tokens=*" %%a in ("%file%") do xcopy "%src%\*%%~a*" "%dst%" /C /Q /H /R /K /Y 1&gt;nul 2&gt;nul
  pause
  </code></pre>