If you are talking about the little red "X" mark on the batch
window and you want to disable it so someone cannot close it, then
there is no possible way to do that. The batch file scripts are
very simple and cannot go as far as to disable a close button.
Anyway, the person can easily exit the batch with the Ctrl + C
combination.
Plus, if that feature is allowed in batch files, you can run a
lot of nasty stuff in there as the user cannot stop it, so that's
not a option for your virus.