Ending processes via the command line

G

Guest

Im just wondering does anyone know of any ms utils to end a process via the cmd line / batchfile. I have found ways to do it with Visual Basic and Visual Basic.NET but would prefer not to do it this way.
 
M

Mark V

In said:
try this exe. Ex. pskill \\computer process

the cmd line / batchfile. I have found ways to do it with Visual
Basic and Visual Basic.NET but would prefer not to do it this way.

Posting binary attachments in a text group is not such a good thing.
:)

Would not a link be a better choice?

SysInternals freeware utilities
http://www.sysinternals.com/

pskill.exe
http://www.sysinternals.com/ntw2k/freeware/pskill.shtml
or as part of PSTools pkg.
http://www.sysinternals.com/ntw2k/freeware/pstools.shtml

There is also kill.exe (MS) in the Resource Kits
and also in the Support Tools which can be installed from the W2K
source CD or downloaded from MS.

.... and others found via Google.
 
T

Torgeir Bakken (MVP)

Aaron said:
Im just wondering does anyone know of any ms utils to end a process via the cmd line / batchfile. I have found ways to do it with Visual Basic and Visual Basic.NET but would prefer not to do it this way.

Hi

The Microsoft command line tool kill.exe.

Kill.exe is in the Win2k Support Tools found on the Win2k CD,
\Support\Tools\Suptools.msi, or for the latest version of
Support Tools (should work on non-SP4 computers as well):
http://www.microsoft.com/windows2000/downloads/servicepacks/sp4/supporttools.asp

(Taskkill.exe comes build in with WinXP Pro)


The command line tool PsKill.exe in the free PsTools suite at
http://www.sysinternals.com/ is also an option.
 
B

Bill Stewart

Anoni M said:
try this exe. Ex. pskill \\computer process

Maybe Mark's message was not subtle enough?

PLEASE DO NOT ATTACH BINARIES

Post the link instead; in that way, the person you're helping is sure to
get the latest version of the tool.

Thanks,

Bill
 
G

Guest

Thankyou all for your replies, i found the MS utility kill not long after i posted :) thanks for your time
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top