title: Kill only one process with taskkill
body: <p>For the purpose of running a game I need to start its exe twice and then kill one of the rundll32.exe processes. I don't want to do this by hand every time so I put it in a batch file like so:</p>
  
  <pre><code>start Gothic2.exe
  start Gothic2.exe
  taskkill /IM rundll32.exe /F
  </code></pre>
  
  <p>There are 2 instances of rundll32.exe running and both are killed, I only need to terminate one of them. PIDs don't help because the rundll32.exe gets a new one every time it is started.
  How can I kill only one process when there are more with the same name?</p>