Hi,
How do I automatically close a command prompt batch file window in Windows 2000. I used to be able to close them using the following commands in Windows 95:
echo off
cls
but these do not appear to work with Windows 2000. Any advice appreciated.
I guess the problem is that I am not sure what you mean by "automatically close a command prompt batch file window". Your commandline for win95 does not serve that purpose as what I understand! So you have to clarify before I might furnish you some elements for your consideration.
As to Exit,I think it is a big and common misunderstanding of what involves an "Exit" statement. Simply put, why do you need an "Exit" to end a batch file? The batch file will run its course and end by itself once all is over. Only under special circumstances where you need an "Exit" and it certainly is not to close a batch file window.
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.