VBScab
Posts: 6657
Score: 188 Joined: 9/5/2006 From: London, UK Status: online
|
I changed my mind. My mind was on process creation, as I'm building a script at the moment which creates and monitors a process's execution. For that, I need the process ID, as there may be another instance (or instances) running. For process termination, it wouldn't matter if there's more than one instance since, if you need to kill Fred.EXE in order to replace it, you would clearly need to kill all instances of it.
_____________________________
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you. - Try using http://www.google.com before posting. - I answer questions only via forums. PMs and personal emails will be ignored.
|