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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top