samedi 14 mars 2015

Kill specific process in windows via folder localtion


Vote count:

0




I have a windows service deployed on a machine but have multiple versions of that running under the same server. Sometimes I want to make sure that the exe has been stopped and use a remote command



taskkill /IM MyWorkerService.exe /F


This works but kills all the instances of the process. I've found the reference here but I can't see anything on how to say kill the exe that lives in folder X.



asked 40 secs ago

Neil

1,856






Kill specific process in windows via folder localtion

Aucun commentaire:

Enregistrer un commentaire