title: How to check if multiple processes is running via a batch script
body: <p>I got this script form stackoverflow and its working for me . and because i can't comment there im asking my question in new post.</p>
  
  <p>This script check if exe is running in tasklist: </p>
  
  <pre><code>@echo off
  SETLOCAL EnableExtensions
  
  set EXE=notepad.exe
  
  FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %EXE%"') DO IF %%x == %EXE% goto ProcessFound
  
  goto ProcessNotFound
  
  :ProcessFound
  
  echo %EXE% is running
  goto END
  :ProcessNotFound
  echo %EXE% is not running
  goto END
  :END
  echo Finished!
  </code></pre>
  
  <p>The question is :</p>
  
  <p>How can I check multiple process is running on tasklist?</p>
  
  <p>for example exe1 and exe2</p>
  
  <p>thanks in advance</p>