@echo off
:start
echo.&echo.
echo shut down or restart?
echo.&echo.
echo [ 1=shut down] [ 2=restart]
echo.&echo.
set/p choice=input:
if /i "%choice:~0,1%"=="1" (shutdown -s -t 0)
if /i "%choice:~0,1%"=="2" (shutdown -r -t 0)
Windows重启脚本
最新推荐文章于 2024-01-22 10:00:32 发布