Current I have this set of codes in a TEST.bat
@echo off
echo HELLO
pause
What I want to do is...
1) I play TEST.bat, it shows "HELLO" on a command prompt (Correct) 2) I play again, another windows pop up "HELLO" on a command prompt (correct behavior but.. )
Is it possible to do this
If(cmd.exe is running)
{
close it
play TEST.BAT
}