We use a batch file as a deployment script for installation of software in a new system. Quite often the batch script will randomly pause until a keypress is present (i.e. the console window is active and a physical key is pressed).
I'm just wondering if anyone has ever come across this? The pause happens at different stages and times while executing the script.
The code format is as below:
cd <folder1>
"Setup.exe"
cd..
cd <folder2>
"Setup.exe"
cd..
cd <folder3>
"Setup.exe"
cd..
...
I guess it's similar to this question. In my case, the batch script is the only substantial process running, otherwise the computer would sit idle.