Solved

Can Taskmgr end a process from the command line?

Posted on 1997-08-08
5
2,169 Views
Last Modified: 2013-12-28
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?
0
Comment
Question by:elfield
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 

Author Comment

by:elfield
ID: 1781180
Edited text of question
0
 

Author Comment

by:elfield
ID: 1781181
Edited text of question
0
 
LVL 96

Accepted Solution

by:
Lee W, MVP earned 50 total points
ID: 1781182
I have found a utility that can do as you ask, however, you must use a process ID, not the name.  (I don't think even in unix you can kill a process by name - but I could be wrong).  The Windows NT resource kit may also contain utilities for this.  If you'd like to try my suggestion, I have placed what I believe to be the freeware software on my FTP site.  
It can be found at ftp://ziggy.cshl.org/sounds/WAV/utils.zip

This file contains manny other unix utilities ported to NT and 95, including tail, tar, pwd, rm, ls, and about 30 or so others.  Some work with 95 and NT, some work only with NT.  Good Luck
0
 

Author Comment

by:elfield
ID: 1781183
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.  

0
 

Expert Comment

by:iqbalj
ID: 2347491
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
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question