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
这是一个Windows批处理脚本,包含两个命令:显示Win10和显示Win11。根据用户输入选择,它将修改注册表项或者删除特定注册表键,并重启资源管理器。
7867

被折叠的 条评论
为什么被折叠?



