Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to keep cmd window after batch execution?

Status
Not open for further replies.

remyvrs

Programmer
Jul 12, 2005
66
0
0
RO
i'd like to make a batch that will execute and after it finishes the execution the commmand window (dos) that it had opened NOT to be closed as it does usually!
does anybody know a solution for that???

It's nice to be important but it's more important to be nice.
Thanks for your attitude!
 
If you dont put close or end at the end of it, the window should stay open. I would assume anyways although im new at batch files lol.
 
use 'pause' at the end of the batch file - that should sort it !

Laters, phat, headshape
 
the "pause" solution suites me ok.
Thanks a lot!

It's nice to be important but it's more important to be nice.
Thanks for your attitude!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top