close app with process id windows command line code example
Example 1: script to kill a process in windows
taskkill /PID 1234
Example 2: cmd kill pid
taskkill /F /PID pid_number
taskkill /PID 1234
taskkill /F /PID pid_number