1.

Solve : Terminating Task Manager Processes with batch code.?

Answer»

Does anyone know how to batch code the ability to END a process LISTED in Windows Task Manager without using the windows task manager, thus using batch or other code?

There are processes that I would like to start or stop on demand as apposed to having the process run continuously.

you can use , tasklist to see a list of open tasks
and use taskkill to kill a open taskIf a task list has the following how would I code to kill the "" task!

Code: [Select]Image Name                   PID     Services                                     
========================== ====== ===
           
PD91Agent.exe               1428  PD91Agent 
Code: [Select]taskkill PD91Agent.exe
I GOT it! the old standby "taskkill /?" was helpful!

Code: [Select]taskkill /PID 1428 /F Code: [Select]taskkill /f /im PD91Agent.exethat EASY Quote from: Prince_ on November 27, 2008, 10:04:52 AM

Code: [Select]taskkill /f /im PD91Agent.exethat easy
Good, if you find it easy, maybe some people do not.
I suggest you remove your snobby behaviour from your posts.


Discussion

No Comment Found