close a file using DOS command

  • Thread starter Thread starter Nazrul
  • Start date Start date
N

Nazrul

I use a batch file to run a couple of programs. If there
is a problem or warning, any of the programs pops up a
window.

I want to close the window immediately after the window
pops up. Could you tell me what is the command to close
the window I have to append at the end of the batch file?
 
Nazrul said:
I use a batch file to run a couple of programs. If there
is a problem or warning, any of the programs pops up a
window.

I want to close the window immediately after the window
pops up. Could you tell me what is the command to close
the window I have to append at the end of the batch file?

cls&exit
 
Back
Top