6 lines
149 B
Batchfile
6 lines
149 B
Batchfile
@echo off
|
|
set /p Seconds=Enter the number of seconds to sleep:
|
|
set /a Seconds+=1
|
|
echo Sleeping ...
|
|
ping -n %Seconds% localhost >nul 2>&1
|
|
echo Awake!
|