How to terminate batch file execution and return to Dos prompt

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
cls
c:windows
otepad.exe

when i run this from command prompt as follows

c:mytools>note

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.

c:mytools>

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.

Howdy, Stranger!

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

Categories