killing a task in windows command promt code example
Example 1: windows kill process
// Kill process by exe name
taskkill /IM "ProcessName.exe" /F
Example 2: kill process in win by pid
kill process by pid
// Kill process by exe name
taskkill /IM "ProcessName.exe" /F
kill process by pid