taskkill problem

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
joakim
Posts: 24
Joined: 07 Mar 2012 12:08

taskkill problem

#1 Post by joakim » 01 May 2012 09:08

Hi, i cant get this to work i dont know why i have dine it like a zillion times, why isnt my taskkill working :?: :(


echo off
cls

taskkill /f explorer.exe
taskkill /f "Adobe ARM.exe"
taskkill /f ccc.exe
taskkill /f armsvc.exe
taskkill /f seaport.exe
taskkill /f "hama chi-2.exe"

start "C:\Program Files (x86)\Minecraft.exe"

pause
exit

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: taskkill problem

#2 Post by Squashman » 01 May 2012 09:18

Because you are forgetting the /IM

Fawers
Posts: 187
Joined: 08 Apr 2012 17:11
Contact:

Re: taskkill problem

#3 Post by Fawers » 01 May 2012 10:06

I know it's none of my business, but why exactly do you want to kill explorer.exe?

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: taskkill problem

#4 Post by foxidrive » 01 May 2012 10:16

explorer.exe will restart too, on a normal machine. Minus some icons.

abc0502
Posts: 1007
Joined: 26 Oct 2011 22:38
Location: Egypt

Re: taskkill problem

#5 Post by abc0502 » 01 May 2012 10:58

@Fawers, he wan't to reduce the ram usage to start a game

Fawers
Posts: 187
Joined: 08 Apr 2012 17:11
Contact:

Re: taskkill problem

#6 Post by Fawers » 01 May 2012 11:12

Makes sense.

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: taskkill problem

#7 Post by Squashman » 01 May 2012 11:14

Well if some of these program are starting with the computer startup why not keep them from starting up in the first place.
AdobeARM.exe does not necessarily need to be running.
Neither does your hamachi program.

Not sure why you would want to kill Catalyst Control Center either?

abc0502
Posts: 1007
Joined: 26 Oct 2011 22:38
Location: Egypt

Re: taskkill problem

#8 Post by abc0502 » 02 May 2012 07:12

u can use a GameBooster it is a programs that do kill all unnessacery process when u click the game mode and when done just click the normal mode to restart all the process i use it some times try it :)

Fawers
Posts: 187
Joined: 08 Apr 2012 17:11
Contact:

Re: taskkill problem

#9 Post by Fawers » 02 May 2012 10:06

abc0502 wrote:u can use a GameBooster it is a programs that do kill all unnessacery process when u click the game mode and when done just click the normal mode to restart all the process i use it some times try it :)


That's right. Sometimes I use the one that comes with Advanced System Care, and it pretty much does the job.

Post Reply