title: execute several programs in batch and generate a single report
body: <p>I need to generate a single report when running in a bat many <a href="https://www.nirsoft.net/" rel="nofollow noreferrer">Nirsoft</a> tools, and the data within "report" is organized. How can I do it (.bat loop)</p>
  
  <p>Example: diag.bat (the problem is > and >>)</p>
  
  <pre><code>start cports.exe /shtml &gt; "Report.html"
  start USBDeview.exe /shtml /shtml &gt;&gt; "Report.html"
  </code></pre>
  
  <p>Example: diag.bat (without > and >>) that's ok but 2 reports</p>
  
  <pre><code>start cports.exe /shtml "Report.html"
  start USBDeview.exe /shtml "Report2.html"
  </code></pre>
  
  <p>Thanks</p>