Well, how can I do, that my programm will be waiting only 6 secound to introduce something? For example: [...] :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?