I\'ve got a batch file. After it finished running, i.e. all command lines have been executed, the cmd.exe window stays open. However, I\'d like to have it closed ri
Your code is absolutely fine. It just needs "exit 0" for a cleaner exit.
tncserver.exe C:\Work -p4 -b57600 -r -cFE -tTNC426B exit 0