• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

App Killing Script or batch file???

#1
How would i create a vbscript or batch file to kill a bunch of things i have running like cursorxp, samurize, mbm, and a few others...?

Basically i'd like to kill these apps and services before i head into a game... then when i'm done playin start 'em up again...

maybe there's a good resource somewhere out there for stuff like this... or maybe there's a program that will let me set configurations for killing groups of apps or services... i've tried appswat and kill but they don't cut it...IMO...

any hints... ???

thanks...
 
#2
From the Windows 2000/XP Support Tools (support.cab on the CD)Extract kill.exe, this terminates processes from the command line.

Then create a batch file calling kill.exe for each process in turn.

Should not be too hard :)
 
Z

ZipTriX

Guest
#4
You use AutoIt and make a script the will kill all the programs that you want, then run them all again when you exit the game.

Here's a link for the Yahoo group if you need help.
 
#5
autoit can only close visible windows... i want to kill services and background apps...

looks like the command line "taskkill" should do the trick, now i just have to learn how to write a batch file... i've heard they're pretty easy...
 
#6
it works great now... one batch file to close everything before i go into games, and one batch file to open them all back up when i come out of games... had some trouble figuring out short foldernames considering i've got 4 folders that start with "microsoft"...

i could probably do it with one batch file and some if statements, but it works so i'm happy...

now i'm taking 42 processes down to 28 before i start a game... yay...
 
#8
Dear Zipopteryxicalanon...

here is an exact excerpt from the AutoIt help file...
___________________________________________________
Q #1: Is it possible to send keystrokes to invisible windows with AutoIt?
---------------------------------------------------------------------
A #1: No
___________________________________________________


if you can tell me how i would close a program like the Messenger Plus! 2 extension which has no visible window using either the winclose, or winwaitclose, or winkill commands in AutoIt please do so...

...however i think it's much easier to use the taskkill command in a batchfile now that i figured that out...
 
Z

ZipTriX

Guest
#9
Originally posted by baser5nature
Zipopteryxicalanon...
You must not be able to read correctly. :rolleyes:

if you can tell me how i would close a program like the Messenger Plus! 2 extension which has no visible window using either the winclose, or winwaitclose, or winkill commands in AutoIt please do so...
You never said you wanted to use those exact commands. Next time be more specific then spouting off at the mouth. :rolleyes:

...however i think it's much easier to use the taskkill command in a batchfile now that i figured that out...
No kidding it would be easier, but yes you can close services and hidden programs the same way as taskkill.

:rolleyes:
 
#10
hey zippy...

those are the only commands available for killing apps...

i didn't read incorrectly, i typed creatively... :eek:

I didn't think i was "spouting off at the mouth":rolleyes:

sorry...

can you explain how to close services and hidden programs the same way as taskkill then please... because i'm still not convinced...
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,014
Latest member
sanoravies