Google this and a whole bunch of option come up.
"close a DOS window"