I have this handy CMD that auto-installs the Visual Studio runtimes. It works ok, but I would like it to wait like 5 seconds between every installer. (NOT asking me to press a key, just wait 5 seconds after every install, then start the next package)
How can I do that?
Here's the code:
@echo off color F1 title Microsoft Visual C 2005-2019 32-bit goto start :START echo. echo Installing Visual C 2005 echo ================== Dr. Schnellinger == echo. echo Step 1 of 8 2005.exe /Q cls echo. echo Installing Visual C 2008 echo ================== Dr. Schnellinger == echo. echo Step 2 of 8 2008.exe /qb cls echo. echo Installing Visual C 2010 echo ================== Dr. Schnellinger == echo. echo Step 3 of 8 2010.exe /passive /norestart cls echo. echo Installing Visual C 2012 echo ================== Dr. Schnellinger == echo. echo Step 4 of 8 2012.exe /passive /norestart cls echo. echo Installing Visual C 2013 echo ================== Dr. Schnellinger == echo. echo Step 5 of 8 2013.exe /install /passive /norestart cls echo. echo Installing Visual C 2015 echo ================== Dr. Schnellinger == echo. echo Step 6 of 8 2015.exe /install /passive /norestart cls echo. echo Installing Visual C 2017 echo ================== Dr. Schnellinger == echo. echo Step 7 of 8 2017.exe /install /passive /norestart cls echo. echo Installing Visual C 2019 echo ================== Dr. Schnellinger == echo. echo Step 8 of 8 2019.exe /install /passive /norestart