Batch File Timer

Introduction: Batch File Timer

About: Returning to Instructables.com To show off my new batch game in the works Called Asteroid Belt! - Raven

How to Make a timer with notepad:

With easy steps...

Step 1: How to Create Timer

Type this

@echo off
mode 32,10

title Timer

:start
title Enter time to countdown from.

cls
echo Enter time to countdown from.

set/p "time=>
set time=%time%

:loop
cls

set /a time=%time%-1
if %time%==0 goto timesup

title Counting down...

echo.
echo.

echo.
echo Countdown - [%time%]

ping localhost -n 2 > nul
goto loop

:timesup
echo Time is Up!!

pause
goto start

Step 2: How to Save and Run Timer

Save as Timer.bat

to run double click on it

Share

    Recommendations

    • Metalworking Contest

      Metalworking Contest
    • Fix It! Contest

      Fix It! Contest
    • Tiny Home Contest

      Tiny Home Contest

    Discussions