Friday, October 26, 2018

Kill all program.exe instances open on network share from Windows

How do I kill all program.exe instances that are currently open through a Windows network share?




I know how to list the open files net files | Findstr "program.exe" but how then how do I kill it?



In Linux I would type:



kill -9 `pidof program.exe`


What is the equivalent of this in Windows?

No comments:

Post a Comment