Saturday, March 28, 2015

Timer + site opner

Copy the code and save it as anything.bat

@echo off
:Start
title notepad codes-Timer
color 07
echo Type in an amount of time (i.e Seconds)
set /p time=
color 07
:loop
cls
ping localhost -n 2 >nul
set /a time=%time%-1
echo %time%
if %time% EQU 0 goto Timesup
goto loop
:Timesup
title Time Is Up!
ping localhost -n 2 >nul
ping localhost -n 2 >nul
cls
echo The Time is up! :-P
pause
cls
echo Thanks for using our Application.
pause
goto Web
goto Exit
:Web
START http://notepadcodesforyou.blogspot.com/
:Exit
Exit
goto Exit

in this what happens that 1st it asks for the amount of time and then it counts the time after that it says press any key to continue,after that it open a given site.


Like our page on f.b :


THANKS for VISITING :D

No comments:

Post a Comment

Comment from here.