how to make the batch file wait until another batch file completes execution?
- by Arunachalam
how to make the batch file wait until another batch file completes execution?
let me explain with an example.
echo hi >r.txt
echo some piece of code >>r.txt
start ar.bat
echo some piece of coe >>ar.txt
i want the code after start ar.bat to execute after this batch file exits ..
i have tried without start it works but i want to run it in a seperate window ..is there any function to check whether that window which is running ar.bat is present ?