title: Batch file to Move files listed in a text file from one folder to another
body: <p>I'm using Windows 10 and would like to create a batch file to <strong>move</strong> files in multiple folders to a different single folder. I need to move the files that are listed in a text file. 
  Some questions that come up are: where does the text file have to be or doesn't it matter? Does the batch file need to be run from a certain folder? I don't have a lot of experience so any help would be appreciated.Thanks in advance!</p>
  
  <p>Here is what I started with</p>
  
  <pre><code>@echo off
  set src_folder=C:\Users\Brian\Desktop\production\15XXXX
  set dst_folder=C:\Users\Brian\Desktop\preliminary\eco\170555
  set file_list=@C:\Users\Brian\Desktop\preliminary\eco\170555\170555.txt
  for /f "tokens=*" %%i in (%file_list%) DO (
     echo f | move /E /C /R /Y "%src_folder%\%%i" "%dst_folder%\%%i")
  </code></pre>
  
  <p>The text file has one line right now and the number is 150252.I would eventually want to move more files from C:\Users\Brian\Desktop\production\16XXXX, C:\Users\Brian\Desktop\production\17XXXX etc.
  I am running my batch file from C:\Users\Brian\Desktop. I hope I've added enough detail so I can get this figured out. Thanks again.</p>