I made an autoit file that would stay open until the cmd, box that my bat file (nothing.bat) pulled up, was closed. I had my bat file launch the autoit exe so the bat file would also stay open, thus making mediaportal stay suspended until I closed down the game, and then hit the x in the cmd file to close that, then MP would pop back up.
Could you share the text of the aotuit file that does that? i'm trying to use it for something similar but don't understand the syntax.