- 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 ?