Instead of monkeying with .bat files and what not, there is a cool app out there called "Close to Run XP" It's been out for a while now, but the author just added a command line option for the game executable. Here is the link: http://www.geocities.com/gallus/ctrxp.htm Give it a try and post here with your results.
Useful App To Close/start Dock With Games...
there is also a program called docktool that does this as well..
just another alternative to this
Aqua-Soft Forums