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

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...