Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Timing shutdown of Mini Program is realized by BAT script.

Shulou Source: shulou.com Published: 2022-06-01 03:36:42 10月06日 Update

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

Tags: Program time countdown computer delay input success half-width character actual hour run script Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Xiaomi MariaDB Apple Shulou Technology