[windows2000] Re: TSKill

  • From: "Sullivan, Glenn" <GSullivan@xxxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Thu, 5 Aug 2004 08:21:37 -0400

Use PSList to get the PID

for /f "skip=8 tokens=1,2" %i in ('pslist') do if "%i"=="dllhost" TSKill
%j


Glenn Sullivan, MCSE+I  MCDBA
David Clark Company Inc. 
-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Andrew Mills
Posted At: Thursday, August 05, 2004 8:15 AM
Posted To: Windows 2000
Conversation: [windows2000] Re: TSKill 
Subject: [windows2000] Re: TSKill 


I tried to run it from the command line, but it requires the PID to
kill.  I can get TSKILL to work using the PID, the problem is:  we don't
know the PID when we are trying to automate killing a process.

Thanks
Andy

-----Original Message-----
 
How were you using superkil ?  (What was the command line)

Mark






The contents of this transmission and any files transmitted with it are
private and confidential, and intended solely for the use of the person
or entity to whom they are addressed.  Please inform the sender if you
have received this transmission in error.  If you are not the intended
recipient, you may not copy, use, rely on or distribute the contents of
this transmission.  Any unauthorized disclosure of information contained
in this transmission, including unauthorized disclosure by the intended
recipient, is strictly prohibited.  The information in this transmission
may constitute "protected health information" under the Health Insurance
Portability and Accountability Act of 1996.  Unauthorized use or
disclosure of protected health information by the intended recipient is
prohibited, and will cause the recipient to violate contractual
confidentiality obligations to the PCI Insurance, Inc.
********************************************************
This Weeks Sponsor StressedPuppy.com Games Feeling stressed out? Check
out our games to relieve your stress.
http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm
********************************************************
This Weeks Sponsor StressedPuppy.com Games
Feeling stressed out? Check out our games to
relieve your stress.
http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: