运行了总是出问题,不反应了- @echo off
- color 89
- mode con cols=80 lines=30
- echo.__________________________________________________________________________
- echo. 1.关机
- echo. 2.注销
- echo. 3.待机
- echo. 4.开CMD
- ECHO. 5.开IE
- ECHO. 6.开控制面板
- echo. 7.退出
- echo.___________________________________________________________________________
- :start
- set /p a=请选择(数字)并回车:
- if %a%==1 shutdown -s -t 00 goto :eof
- if %a%==2 shutdown -l goto :eof
- if %a%==3 rundll32.exe powrprof.dll,SetSuspendState goto start
- if %a%==4 cmd /k start /max cmd.exe goto start
- if %a%==5 cmd /k start /max iexplore.exe goto start
- if %a%==6 control
- if %a%==7 goto :eof
- pause>nul
复制代码
|