How to terminate batch file execution and return to Dos prompt - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

How to terminate batch file execution and return to Dos prompt

Teddydan81Teddydan81 Posts: 1Member
I am beginner in Dos batch file creation. This might be a silly question, but i would be glad to know the answer.

I have created a note.bat batch file as follows

@echo off

when i run this from command prompt as follows


it opens the note pad application but in the command prompt window, i want to see again as below so that i can execute other batch.


but the above prompt can be achieved only after i close the notepad application opened through note batch. Please let me know if you have any suggestions for this.

Sign In or Register to comment.