Ending Windows 7 with the command prompt to specify the process

  

In general, when we need to end a process, we tend to choose the right-click taskbar - Task Manager - Right-click a process - End. But in fact, we can also use the command to make more options for this operation.

Procedure

1. Start Menu - Programs - Accessories - Command Prompt.

2. Right click - Run as administrator.

3, enter the tasklist, there are several rows of lists:

4, if we want to end all processes of a program, for example, notepad.exe, you can enter Taskkill /IM notepad. Exe /F, where F means forced end.

5, if you only want to end a process of a program, you can enter the PID of the process to achieve, such as: Taskkill /PID 17364 /F

Copyright © Windows knowledge All Rights Reserved