@echo off
%1(start /min cmd.exe /c %0 :&exit)
mode con cols=26 lines=3&color 4e
for /l %%i in (300,-1, 0) do (
cls
echo.
echo 倒计时%%i 秒 执行关机
title 确保关机 %%i
ping 127.1 -n 2 >nul
)
shutdown -s -t 0
Last modification:April 12, 2022
© Allow specification reprint