shut.bat 定时关机文件

set /p time=“How much seconds will it take to turn off the computer?”
shutdown /s /t “%time%”
pause

reboot.bat 定时重启文件

set /p time=“How much seconds will it take to restart the computer?”
shutdown /r /t “%time%”
pause

执行流程

双击shut.bat或reboot.bat

windows bat文件实现定时关机和定时重启
windows bat文件实现定时关机和定时重启
输入时间后按下回车【enter】即可,一次不够再按一次

相关文章:

  • 2022-12-23
  • 2021-10-01
  • 2021-11-08
  • 2022-02-06
  • 2022-02-13
  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-01
  • 2021-11-28
  • 2022-12-23
  • 2022-01-05
  • 2021-09-09
相关资源
相似解决方案