So, one day, I'm just sitting there making batch files and I made the following:
@echo off
cd C:\Program Files\SomeDir\
start /MAX /WAIT SomeFile.bat
pause >nul
I know there's probably a milion things I'm doing wrong there but I want to focus on the fact that, when I open that file everything is alright until I exit and switch back to the original command prompt where i get the following Terminate Batch job (Y/N)
. This also does not allow any further code to go ahead beacause I tried putting echo
after start
.
I want to get rid of that prompt so that my code can just go ahead. I never expierienced that problem until now. If this helps, I'm on windows 7.
Please help and thanks in advance.