title: Write batch file to read a number from a text file and execute the command with that number
body: <p>I have a text file and a .bat file. Int the text file I have a list of workstation numbers like:</p>
  
  <pre><code>CG002681
  CG002526
  CG002527
  CG002528
  CG002529
  CG002530
  ....
  </code></pre>
  
  <p>so I need to read this text file and i need to excute the command as shown below.</p>
  
  <pre><code>copy "\\cg002009\c$\Documents and Settings\All Users\Application Data\abc\LM\I4S.INI" c:\asd\mul.txt 
  echo cg002009 &gt;&gt; c:\asd\Shashi.txt
  type c:\asd\mul.txt &gt;&gt; c:\asd\345.txt \l
  </code></pre>
  
  <p>I need execute this command for each workstation.</p>