Go Back   TechArena Community > Technical Support > Computer Help > Windows 2000 > Window 2000 Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

How to use pskill or kill ... to kill a process with a name like "Hello There"

Window 2000 Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 20-03-2007
flahmeshess
 
Posts: n/a
How to use pskill or kill ... to kill a process with a name like "Hello There"

Hi !

Normally, I find that a process would have a image name like
svchost.exe. But I have a program which does not have extension and
has a space in it, eg "Hello There" (not the real image name).
I try to use pskill or kill command to remove it but it does not
work. I don't want to kill it by the taskid as I want to kill it via
a batch.
So any advice how to kill such procoesses ?

Thanks a lot.


Reply With Quote
  #2  
Old 20-03-2007
3c273
 
Posts: n/a
Re: How to use pskill or kill ... to kill a process with a name like "Hello There"

Have you tried quotes around the process name?
pskill "my long program name"

Reply With Quote
  #3  
Old 21-03-2007
flahmeshess
 
Posts: n/a
Yes. Already tried... pskill says Process does not exist.
Kill - no output but process still running.

Kill it by its process number. TList.exe or tasklist.exe will give
you the number.

But I dont' want to kill by process number if possible. The reason is
that I'm running it in a batch and I can't hardcode the process
number.

Reply With Quote
  #4  
Old 21-03-2007
Pegasus \(MVP\)
 
Posts: n/a
That's no valid reason at all! The following batch file will
do exactly what you want:

@echo off
for /F %%a in ('tlist ^| find /i "Outlook"') do echo kill %%a

Remove the word "echo" in order to activate the kill command.

Yet to try this cause I use the pskill or kill command. Don't
have the tlist command. Will search for it. Thanks again.

I'm sure there is a tlist/tasklist equivalent in the famous
stable of tools at www.sysinternals.com.

Reply With Quote
  #5  
Old 27-03-2007
flahmeshess
 
Posts: n/a
found that there is a space at the back of the
process. So when I just use quote and add a space, pskill is able to
kill the process.

Type pskill.exe /? at the Command Prompt to see the full syntax.

Reply With Quote
  #6  
Old 27-10-2009
knr knr is offline
Member
 
Join Date: Oct 2009
Posts: 1
But , how to kill a process in windows 2000 professinal using cmd or a batch file can anyone help ??

its not working

Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows 2000 > Window 2000 Help


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads for: "How to use pskill or kill ... to kill a process with a name like "Hello There""
Thread Thread Starter Forum Replies Last Post
How to remove a running process that gives you "access denied" when you try to kill it jbclem Window 2000 Help 5 13-05-2009 08:49 AM
Facebook could "kill" Google deveritt Technology & Internet 4 27-03-2009 09:26 PM
Latest vista Updates kill IE7 !! whats "navcancl from ieframe.dll" ?? Marshall Kiam-Laine Vista Help 5 15-05-2007 01:33 PM
Latest vista Updates kill IE7 !! whats "navcancl from ieframe.dll" ?? Marshall Kiam-Laine Vista Administration 5 15-05-2007 01:33 PM
Latest vista Updates kill IE7 !! whats "navcancl from ieframe.dll" ?? Marshall Kiam-Laine Vista File Management 5 15-05-2007 01:33 PM


All times are GMT +5.5. The time now is 03:30 AM.