You can use an API call to close a command prompt. You will need to know the title of the window, because that is what you will use to iterate through open windows and find the one you want to kill.
1. insert this in a module in the declarations portion:
Public Declare Function PostMessage...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.