Hello, Dagk.
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.
regards - tsuji