@echo off set /a timerstart=((1%time:~0,2%-100)*60*60)+((1%time:~3,2%-100)*60)+(1%time:~6,2%-100) call init.bat if exist "%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" ( echo Visual Studio found at "%InstallDir%" ) else ( echo Error: No Visual Studio found. ) cd "Allgemein" call build.bat cd "../Apps" call build.bat cd "../Spiele Platform" call build.bat set /a timerstop=((1%time:~0,2%-100)*60*60)+((1%time:~3,2%-100)*60)+(1%time:~6,2%-100) set /a timeseks=(%timerstop%-%timerstart%) set /a timemins=(%timerstop%-%timerstart%)/60 echo Sekunden: %timeseks% -- Minuten: %timemins%