@echo off for /f %%i in (programs.txt) do ( start "%%i" cmd /c "build_sub.bat %%i" )