Introduction: Batch File Timer

Picture of Batch File Timer

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

Comments

About This Instructable

431views

3favorites

License:

Bio: Returning to Instructables.com To show off my new batch game in the works Called Asteroid Belt! - Raven
More by Raven Codes:Making a game with notepadBatch File TimerCustom Alarm Clock with notepad
Add instructable to: