Here's what I do,
I set up a little batch script to automatically kill everything I don't use, here's a sample.
Open up Notepad to a fresh file, and code up this script,
when done, save as FILENAME.bat doubleclick to run.
Here's a Rundown.
echo off
this part tells windows to turn off advanced reporting, so it'll show each task kill on a single line with onyl the required info.
cls
this tells it to
CLear
Screen to get rid of the echo off command
taskkill /f /im ted.exe
taskkill = A command that states that you want to...kill a task...
/f = Not mandatory, but basically tells the process to GTFO RIGHT NOW, so it's fast, but settings might not get saved etc, havn't had problems with it yet.
/im = Tells the command that the nexts phrase is going to be the name of a process
Optional: /t = Kills process tree, so if you have anything like Yahoo Widget engine running, it'll safely close all your widgets(they all reappear when you reopen)
So to build it, we attach all the elements just discussed.
taskkill /f /im process.exe
Where it says process.exe you would go into the task manager and figure out what the process name is, it's usually similar to the program name.
pause
forces the computer to stop and tell you to press "any key"
I use this so that i can run the first half of the script(kill all the programs) then you can just close the CMD window and it won't launch BF2, that way I can run a different game, alternatively you can just get rid of the pause and lines after that so that your script just closes the programs, then you can manually launch BF2.
cd C:\Program Files (x86)\EA GAMES\Battlefield 2
cd stands for change directory so from this point on it executes the rest of the script as if from that place, you'll get it in the next step.
Final line, BF22.exe (Should be BF2, but I renamed my file for performance)
this pertains to the previous line, since you're executing from said directory, it just launches the file.
This can be modified to go with most processes and program launches, batch is pretty simple to learn and execute and is wonderful for automating tasks.
PS. This turned into a really long guide, shall I repost a revised version in the General BF2 section and possibly sticky?
Last edited by **LiLp-DeFiNeD (2008-04-14 23:38:40)