batch file wait for exe to finish code example Example: batch file wait for exe to open START /WAIT Install.exe