Skip to content

Instantly share code, notes, and snippets.

@willemsh
Created May 21, 2018 15:31
Show Gist options
  • Select an option

  • Save willemsh/644e518c30913f5056362bb84e7c5009 to your computer and use it in GitHub Desktop.

Select an option

Save willemsh/644e518c30913f5056362bb84e7c5009 to your computer and use it in GitHub Desktop.
killall for windows
taskkill /F /IM PROGRAM.exe /T
The /F parameter tells taskkill to Force the process(es) to kill.
The /IM parameter allows you to specify the name of the process executable(s) to kill.
The /T switch specifies to terminate all child processes along with the parent process.
You may omit the /F parameter and the /T switch but there will be a real possibility that one or more tasks may continue to run due to dependencies on the task that was requested to be killed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment