title: Windows batch file : PID of last process?
body: <p>I am launching a browser from batch file.</p>
  
  <pre><code>START "www.google.com"
  </code></pre>
  
  <p>I would like to know the PID of this browser window launched.</p>
  
  <p>There can be many browser windows launched on a single machine. I need to find the PID of the process which was launched by my batch file only. I tried with WINDOWTITLE filter. But its not a good idea as titles may change in future. I am using Windows XP/7</p>
  
  <p>Any help would be appreciated.
  Thanks.</p>