Countdown script in Batch file
Restart Computer Example:
for /L %%a in (
15,-1,0
) do (
echo Your Computer will reboot in %%a seconds…
ping -n 2 localhost 1>nul 2>nul
)
@echo off
shutdown -r -t 0
PAUSE
Restart Computer Example:
for /L %%a in (
15,-1,0
) do (
echo Your Computer will reboot in %%a seconds…
ping -n 2 localhost 1>nul 2>nul
)
@echo off
shutdown -r -t 0
PAUSE