How to close the command line window after running a batch file? - Stack Overflow

PHOTO EMBED

Mon Apr 12 2021 04:29:34 GMT+0000 (Coordinated Universal Time)

Saved by @steadytom

For closing cmd window, especially after ending weblogic or JBOSS app servers console with Ctrl+C, I'm using 'call' command instead of 'start' in my batch files. My startWLS.cmd file then looks like:

call [BEA_HOME]\user_projects\domains\test_domain\startWebLogic.cmd
content_copyCOPY

https://stackoverflow.com/questions/14626178/how-to-close-the-command-line-window-after-running-a-batch-file