How to capture the PID of a process when launching it from command line?

前端 未结 8 1917
栀梦
栀梦 2020-11-30 13:48

Is there a way to do this purely in a .bat file?

The purpose is to launch iexplore.exe, then kill just that instance when it\'s finished.

8条回答
提交回复
热议问题