I am running a set of Java applications through batch files which occasionally need to be killed via console. But in task manager it shows all these applications as java.exe
, whereas in the application tab it shows the particular name. I need to get the process id for the application from the application tab, so that I can kill the application based on it. To reiterate, I have only the application name, not other details, and how would I obtain the PID based on this - in vb.net?
Thanks In Advance
Regards Sathya.M