I have php installed with apache on a windows server and I was wondering is it possible to make a script which can close .exe files after a click of a button(want to make a remote restart script for a game server) and then open a .bat file?
Exec should do the trick. I've not tried PHP on a Windows server but that seems to be to the command you're looking for.
You might want to check these functions : exec ( http://lv.php.net/function.exec ) system ( http://lv.php.net/system )