Timing shutdown of Mini Program is realized by BAT script.
This program can shut down the computer regularly.
@ echo offtitle automatic shutdown Mini Program color 2fecho * echo * * echo * Countdown to shutdown Mini Program-- * echo * * echo * * * echo * actual shutdown time = "shutdown program startup time" + "shutdown delay time" * echo/set / p t = Please enter the shutdown program startup time (24-hour system) Half-width character, such as 21:55): echo/set / p s= Please enter the shutdown delay time (minutes): set / a d=60*%s%at% t% cmd / c shutdown-s-t% d%-c "to cancel the shutdown, please run shutdown-a" cls&echo shutdown setting is successful, the computer will be shut down at% t%, start% s% minutes countdown. Pause > nul