I require the Process id of the \"Las2xyz\" process that\'s being run in my bat file.
How can i achieve this? I can\'t use the last RUN ID or the first ID, I need th
Use tasklist
tasklist
for /f "tokens=2" %%a in ('tasklist^|find /i "Las2xyz"') do (set pid=%%a)