Link to home
Start Free TrialLog in
Avatar of elfield
elfield

asked on

Can Taskmgr end a process from the command line?

I know how to end a task using Task Manager.  But I'd like
to invoke TaskManager (or some other program) from the
"MS-DOS" command line to end a task.  E.g., "taskmgr kill <process name>".

Is there a way?.  If not, is there some other "kill" program that I can start from the command line?
Avatar of elfield
elfield

ASKER

Edited text of question
Avatar of elfield

ASKER

Edited text of question
ASKER CERTIFIED SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of elfield

ASKER

Thanks very much for utils.zip.

But I realize I didn't write my question properly.

I'm looking for a "already built-into NT" method of killing a program by name from the command line.  Since Task Manager is able to do this graphically, I'm hoping it can also be done from the command ;ine (e.g., using Task Manager or some other program that ships with NT).

In fact, I wrote my own program that seems to work, but I don't trust it enough to give to my customers (I could be in trouble if it had some expensive side effect).  That's why I'm hoping that some Microsoft NT program or NT Resource Kit program can do the job.

So I appreciate your response (grade = excellent) and I'll resubmit my question -- hopefully more clearly.  

Hi guys,

could you please let me know how to 'End a task using Task Manager by process ID from command prompt.

I tried the above site; not there.

Thanks.

iqbalj@yahoo.com