title: Batch to find string (contained in textlist.txt) in other .txt files in directory and copy value from .txt to new one
body: <p>have a problem with finding a batch to find and copy strings which are listed in textlist.txt from text files. Is it possible to make                                  batch witch should find all values (from textlist) in text files in directory and copy all of this values to new file.
  I have directory with:</p>
  
  <p>textlist.txt contains:</p>
  
  <ul>
  <li>3010</li>
  <li>3020</li>
  <li>3030
  ....</li>
  </ul>
  
  <p>and other directory with txt files:</p>
  
  <p>3010.txt contains tab delimited for example:</p>
  
  <ul>
  <li>3010 a1</li>
  <li>3011 b1</li>
  <li>3012 c1
  ....</li>
  </ul>
  
  <p>3020.txt contains for example:</p>
  
  <ul>
  <li>3020 a4   </li>
  <li>3021 b3</li>
  <li>3022 g5
  ....</li>
  </ul>
  
  <p>3030.txt contains for example:</p>
  
  <ul>
  <li>3030 h5 g7</li>
  <li>3031 f2</li>
  <li>3032 t4
  ....</li>
  </ul>
  
  <p>and other 3040.txt, 3050.txt etc.</p>
  
  <p>I need result txt file like this.</p>
  
  <ul>
  <li>3010 a1 { this string becams from 3010.txt but is possible that it can be found in other txt file.}</li>
  <li>3020 a4 { this string becams from 3010.txt but is possible that it can be found in other txt file.}  </li>
  <li>3030 h5 g7 { this string becams from 3010.txt but is possible that it can be found in other txt file.}</li>
  </ul>
  
  <p>Thanks for help.</p>