RosettaCodeData/Task/Sleep/Batch-File/sleep-3.bat

6 lines
128 B
Batchfile

@echo off
set /p Seconds=Enter the number of seconds to sleep:
echo Sleeping ...
timeout /t %Seconds% /nobreak >nul
echo Awake!