- @echo off
- choice /c 12 /m 请选择:
- if %errorlevel% equ 1 reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoControlPanel /f
- if %errorlevel% equ 2 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoControlPanel /t REG_DWORD /d 1 /f
- taskkill /f /im explorer.exe>nul
- start explorer
- goto 显示或隐藏
复制代码
|