add this to your batchtaskkill /f /im chrome.exeI'm using google chrome in my example but you can use any command found in the system path if it's not in the system path then you must specify in the command line, for example:taskkill /f /im c:\utilities\someprogram.exe?I hope this is what you were looking for and if anyone is even reading this old post

I found it so mayby others will too.:Easis
suberatu, on 24 February 2008 - 09:01 PM, said:
I was actually looking for something just like this. Thank you so much.
Now, just one question to take it a step further. Is it possible to write a shortcut that terminates one application and launches another? For example, I use RocketDock on my desktop because I prefer it to the native quicklaunch. I want to be able to launch games off RocketDock, but whenever I do, there is a strange flicker and I'm forced to ALT+TAB back to the desktop and shut it off manually. Is there a way to write a shortcut that will both close RocketDock and launch another app?