title: batch file to list all txt files from other directories
body: <p>I am in the process of fetching all the .txt files from one directory to another (my current).</p>
  
  <p>My current directory is </p>
  
  <pre><code>C:\USERS\MRAH
  </code></pre>
  
  <p>where i have the batch file and i have the code to fetch all .TXT files from the directory</p>
  
  <pre><code>dir E:\S_RUNS\12 month_STAR\S_2013\tst\*.txt /b &gt;&gt; INPUT_FILE_LIST.TXT
  </code></pre>
  
  <p>I am not able to fetch all the .TXT file which are in the E:\ DIREC into INPUT_FILE_LIST.TXT file on C:\USERS\MRAH</p>
  
  <p>Can anyone let me know as to what should be code to fetch all the .txt file from one directory to another...</p>
  
  <p>Thanks!</p>