I want to create a timer for the 'set /p ""=' command so that if you don't input something in the required time space it moves to a different label.
Eg.
echo You have 3 seconds to type 'go'
(??if not typed in 3 seconds goto fail??)
set /p input=
if %input%==go goto win
goto fail
Is it possible to command the program to set a 3 second timer before the 'set /p'? Without mixing it with another language like C# etc?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…