waiting in "set /p"
Posted: 07 Oct 2010 12:04
Well, how can I do, that my programm will be waiting only 6 secound to introduce something?
For example:
Can you help me?
For example:
Code: Select all
[...]
:08
echo Poland
set /p a="enter capital: " (and it may last only 6 seconds; if longer goto :10)
if %a%==Warsaw color 2
echo Warsaw
goto :00
[...]
:10
echo too long
Can you help me?