Shutdown Multiple Apps. At Once

When I play games I like to have as little as possiable running. Im lookin for a program to shutdown multiple programs and .exe's at once. Thanx

#19386

Nobody?

#19965

try notepad.

enter the following text:

taskkill /f /im %program name1%.exe

taskkill /f /im %program name2%.exe

and so with all the program names that you want to shutdown.

save it as shutdown.bat and run it before you start your game.

note: this assumes windows xp. run taskmgr and check processes to find the programs you'd like to shutdown. if you are ruthless, you can get down to under 20 processes.

go here: http://www.blackviper.com/WinXP/servicecfg.htm to find the programs/services you can safely kill.

#20239

What if you're running two instances of the same program? (Two Samurize clients, for example)

Do you have to kill client.exe twice, or one taskkill command kills them both?

#20305

BIG BIG BIG thanks to hawks5999! I have always wanted to be able to shut-down progs like this! See, I wanna have the file run at startup to kill the stupid MSN MESSENGER that wont die because it says it "Is being used by other apps" which is plain BS! THANKS!

#20675

Does anyone know how to run apps from the batch file to? :huh:

#21588

if you want to make one batch file that will kill the apps and then launch your game, check the properties of the start menu shortcut for your game. The target is what you are looking for. Optionally you can change directory (cd) to the "Start in" directory. As an example:

taskkill /f /im %program name1%.exe

taskkill /f /im %program name2%.exe

"C:\Program Files\Mohaa\mohaa.exe"

just listing the path to the .exe that the shortcut references will launch the app/game from the batch.

Option:

taskkill /f /im %program name1%.exe

taskkill /f /im %program name2%.exe

cd "C:\Program Files\Mohaa\"

mohaa.exe

this second batch will change you to the game directory before launching. I don't think this is necessary, but is the equivalent of the Start in: variable of the shortcut.

If the path of the game directory contains spaces (like if it is in program files) be sure to include the double-quotes.

Once you create the batch, you can put it anywhere and then shortcut it to your desktop or dock and change the icon on the shortcut to match your game if you don't like the default look of the batch file (and who does?).

To RaginAsian: you may not get the expected result if you place this batch into your startup folder. At work, i created a batch file that killed several of the useless netware apps that start by default on login. The problem was that the batch ran before the apps were loaded and so didn't kill anything. Instead i put a "Kill Novell" shortcut on my desktop and wait for everything to get loaded and then kill it.

#21803

Now what we need is a way to monitor a game...when the game closes...several apps are reloaded automatically.

That would be USEFUL!

A program that has two lists for programs. List A for programs that should always be running unless a program from list B is running.

If only.... :(

#26127

That would be nice Zogg. I have to run explorer, then I run another .bat file to start-up things again.

#26194

ive written many scripts to do this... if u check out the YzDock topics over at DT u will find them all.

if u cant find them, simply let me know and ill put them here to :rolleyes:

-The Unknown

#28570