how to kill a process with pid in windows cmd code example Example: cmd kill pid taskkill /F /PID pid_number