Windows XP Closing a batchfile's DOS window.

Joined
Nov 17, 2009
Messages
36
Reaction score
2
I have usually been able to get the DOS window of a batch file to close by preceding the script with 'Echo off' and ending it with 'Cls'. But a batchfile that invokes Autohotkey and then a script in AutoHotKey, does not close;, not even when I end the batchfile with EXIT. I suspect that the focus may have moved from DOS, and so DOS commands are no longer executed. Whether or not that is true, how can I get the DOS window to close automatically ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top