1.新建一个txt文件在文件中输入一下内容保存 把后缀改成.cmd就可以了
@echo off
set ip=
set /p ip=Press 1 display Win10,Press 2 display Win11:
if “%ip%” == “” goto _end
if /I “ip%” == “1” goto _cmd1
if /I “%ip%” == “2” goto _cmd2
:_cmd1
reg add “HKCU\Software\Classes\CLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32” /f /ve
@taskkill /f /IM explorer.exe
start explorer
exit
:_cmd2
reg delete “HKCU\Software\Classes\CLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}” /f
@taskkill /f /IM explorer.exe
start explorer
exit
:_end
exit