echo 确认执行请按 " Y ",取消操作请按 " N "
choice /n >nul
if errorlevel 2 goto end
===============================================
CLS
WBAT BOX "Please enter your choice:",Shutdown the computer,Restart the computer
IF NOT ERRORLEVEL 3 GOTO ANS
===============================================
上面的ERRORLEVEL 2、ERRORLEVEL 3是什么意思啊!!!
choice /n >nul
if errorlevel 2 goto end
===============================================
CLS
WBAT BOX "Please enter your choice:",Shutdown the computer,Restart the computer
IF NOT ERRORLEVEL 3 GOTO ANS
===============================================
上面的ERRORLEVEL 2、ERRORLEVEL 3是什么意思啊!!!
