Task Kill

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
The Great One
Posts: 23
Joined: 02 Jan 2010 20:54

Task Kill

#1 Post by The Great One » 09 Jan 2010 00:36

Anyone know how to kill all running task/programs in a batch?

!k
Expert
Posts: 378
Joined: 17 Oct 2009 08:30
Location: Russia

#2 Post by !k » 09 Jan 2010 06:16

taskkill /?

sweener
Posts: 18
Joined: 06 Jan 2010 13:00
Location: Indianapolis, IN

#3 Post by sweener » 09 Jan 2010 11:10

You would have to use TSKILL if using a home version of Windows XP... or in Windows Server 2000 at least that's been my experience. TSKILL is a bit different from TASKKILL

If !k's suggestion isn't enough, I can help. Or at least make an attempt.

!k
Expert
Posts: 378
Joined: 17 Oct 2009 08:30
Location: Russia

#4 Post by !k » 09 Jan 2010 16:43

sweener wrote:You would have to use TSKILL if using a home version of Windows XP... or in Windows Server 2000 at least that's been my experience

Oh, I do not think that there are different operating systems.
Here for this killer promised support NT4, 2000, XP, 2003, Vista

sweener
Posts: 18
Joined: 06 Jan 2010 13:00
Location: Indianapolis, IN

#5 Post by sweener » 09 Jan 2010 20:46

That is a really cool resource! But all I was saying is that in an effort to kill some hanging background processes on a server at work, I came across TASKKILL but it was useless to me because it was not a recognized command on Windows Server 2000. Same thing with my home edition XP. But TSKILL worked... there are variances here and there. In order to find PIDs associated with running programs I would use

Code: Select all

query process *
on the windows Server OS and

Code: Select all

qprocess
on my home machine to get a similar output.

So, The Great One, you have varied resources at your fingertips.

Post Reply