windos launch application in batch file then quit code example Example: how to close terminal after batch file execution //your program exit //close terminal window