Anyone remember the days when Battlefield Bad Company 2 didn’t correctly quit? I remember one time taking a look at my task manager and lo-and-behold there were at least 6 different “BFBC2Game.exe” tasks running. I wasn’t even in the middle of playing.
I had totally forgotten about those days. Probably because DICE finally fixed it and I haven’t noticed. Today, however, I double-clicked my desktop shortcut for BFBC2 and I saw it flicker a CMD prompt. I was like — wha?!? After my 2-second investigation, I remembered the above fact. I also found my good ol’ batch script. My shortcut points to my batch script which was aptly named ‘runBFBC2.bat’. Here’s the contents of the file:
@echo off
taskkill /F /IM BFBC2Game.exe
START BFBC2Game.exe
Essentially, anytime you click the icon to launch the game, it would first kill off any old lingering tasks. Clever. However, it didn’t necessarily keep one task from running all the time, but it did keep me from playing the game AND having a dozen other instances of the game running at the same time. Thank goodness for gigs and gigs of RAM!!
