@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重启脚本
猜你喜欢
转载自blog.csdn.net/weixin_43202635/article/details/114179270
今日推荐
周排行