TIMER - SHUTDOWN COMPUTER WHEN TIMEOUT
Page 1 of 1
TIMER - SHUTDOWN COMPUTER WHEN TIMEOUT
TIMER - SHUTDOWN COMPUTER WHEN TIMEOUT
@echo off
:Start
title timer
color EC
echo Type in an amount of time (Seconds)
set /p time=
color CE
: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
color 5F
echo You have 20 seconds before Windows Will shut down!
ping localhost -n 20 >nul
ping localhost -n 2 >nul
ping localhost -n 2 >nul
ping localhost -n 1 >nul
ping localhost -n 1 >nul
ping localhost -n 1 >nul
goto Shutdown
:Shutdown
color 4F
echo Windows is now shutting down!
ping localhost -n 1 >nul
start C:\Windows\System32\Shutdown.exe -s
save to time.bat
Similar topics
» TIMER (COUNT DOWN)
» How to shutdown windows XP in 5 sec
» Shutdown Button Ghayap
» low shutdown honay ki waja
» SHUTDOWN SYSTEM WITH MESSAGE
» How to shutdown windows XP in 5 sec
» Shutdown Button Ghayap
» low shutdown honay ki waja
» SHUTDOWN SYSTEM WITH MESSAGE
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Tue Feb 04, 2020 6:49 pm by munsab
» گوگل کرُوم
Tue Dec 03, 2019 8:35 pm by Munsab Ali
» فوٹو شاپ
Tue Dec 03, 2019 8:33 pm by Munsab Ali
» شمشیر بے نیام قسط نمبر 2
Sat Nov 30, 2019 11:25 pm by Munsab Ali
» شمشیر بے نیام قسط نمبر 1
Sat Nov 30, 2019 9:56 pm by Munsab Ali
» متنازع سائبر کرائم بل 2015 متفقہ طور پر منظور کرلیا۔ -
Wed Jul 27, 2016 11:54 am by Munsab Ali
» All in One
Fri Dec 25, 2015 10:23 pm by RASHID KHAN
» Best Action Movies 2015 English Hollywood - TOM CRUISE - New Adventure Movies 2015
Thu Dec 10, 2015 2:05 pm by Munsab Ali
» Shinobido - Ninja
Thu Dec 10, 2015 1:53 pm by Munsab Ali