Tuesday, 19 February 2013

tasklist and taskkill in cmd

If you work with Task Manager (ctrl+alt+del) ,you can easily understand this.  Task list is list of task which are running on windows currently.  If you open any application,it will be added to task.


To List the Tasks type in cmd as :
  tasklist
          tasklist
 This will show the list of task which are running as shown in the picture



To stop the Process or task ,there is two methods :
Using Image Name:
   We can kill the task using its Image Name as follows:
                       tasklist /im notepad.exe



No comments:

Post a Comment