exit at end of batch file not working code example Example: how to close terminal after batch file execution //your program exit //close terminal window