as i'm noob myself, can't really help you out, but i think you should work around the 'runtime' function. as i know, you can call exe files as if you were in dos mode.
Everyone is a villain in someone else's story. Especially this devious tiny ad:
a bit of art, as a gift, the permaculture playing cards