Here is the code on how to create a timer.
Simply copy and paste the code into Notepad then save it as Timer.bat
@echo off
title Timer
set /p timer=Choose the start time=
set time=%timer%
:loop
cls
set /a time=%time% -1
if %time%==0 goto end
echo %time% second(s)
ping localhost -n 2 >nul
cls
goto loop
:end
echo Time is out
pause
No comments:
Post a Comment