title: How to record the count of a TaskList
body: <p>I have a process called "Ulti.exe". Due to my project requirements I have more than one copy of it running at any one time. If the number of copies of "Ulti.exe" drop below 3, I need to kill all the processes and restart them again.</p>
  
  <p>How can I save the TaskList count into a variable? Currently, the following command:</p>
  
  <pre><code>TaskList | FIND /C "Ulti.exe"
  </code></pre>
  
  <p>if typed into cmd.exe returns me the number of "Ulti.exe" processes accurately. How can I incorporate this into a .bat file so I can use this number as a variable?</p>