Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Can Taskmgr end a process from the command line?

Posted on 1997-08-08
5
Medium Priority
?
2,172 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 200 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
By default Outlook 2016 displays only one time zone in the Calendar. The following article explains how to display two time zones in one calendar view.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

722 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