title: Windows command line how to call a tool for every file in directory tree
body: <p>I have many directories with many files. How to call a command (echo i.e.) for every file?</p>
  
  <p>What I have done is:</p>
  
  <pre><code>for %a in (*) do D:\wget&gt;xidel.exe --extract  "//a/@href" %a &gt; D/wget/links.txt
  </code></pre>
  
  <p>It can do it's job in single directory. But how to force it to process all directory tree recursively?</p>