ClanKiller.com https://forums.clankiller.com/ |
|
Windows Annoyance: Command-line window won't close https://forums.clankiller.com/viewtopic.php?f=8&t=854 |
Page 1 of 1 |
Author: | angrydog [ Sat May 29, 2004 8:04 pm ] |
Post subject: | Windows Annoyance: Command-line window won't close |
When I run a batch file (CMD file), a CMD (text) windows pops up to display the standard output. After it finishes, the stupid thing hangs around with this message: "Hit any key to close this window...". Does anyone know how to get rid of this script-defeating behavior? It's script defeating because it involves manual intervention when you really want automation. If you really do want a window to wait for human input, you can just add a "PAUSE" statement to the end of your script. |
Author: | Satis [ Sat May 29, 2004 11:40 pm ] |
Post subject: | |
can you paste the contents of your batch file? It sounds like you have a pause or something similar on it. By default, a batch file will automatically exit. Either that, or you can manually add an 'exit' to the end of the batch file. That may help. Anyway, if you paste the contents I'll be glad to look it over. |
Author: | RB [ Fri Jun 04, 2004 8:29 am ] |
Post subject: | |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |