Page 1 of 1

execute a bat without closing the prompt command

Posted: 19 Jun 2007 07:41
by mathmax
Hello,

I would like to know if it's possible to execute a .bat and at the end position on a repertory without closing the prompt command ?

Thank you in advance for your help.

just put "cmd" in the last line

Posted: 26 Jun 2007 10:29
by budhax
hi,
just put "cmd" in the last line, like this .BAT

NoClosePrompt.bat

@echo off
echo hello mathmax
cmd
:: command below will be ignored
cls

Posted: 26 Jun 2007 10:34
by mathmax
Thank you very much. It works.