ajay662
8th March 2007 20:46 UTC
finding process by process arguments
Is there a way to use "process arguments" info to uniquely find a process. My requirement is to find a java process which is running my application. If I use
Processes::FindProcess "java"
I will find all java processes, not just mine.
kichik
9th March 2007 13:08 UTC
You can use the following for every PID you find.
http://www.winterdom.com/dev/ptk/cmdline.html
You could also use WMI, which is not available on earlier versions of Windows, to get the information for all of the processes without finding the PID first.
http://windowsxp.mvps.org/listproc.htm