win11右键菜单改回win10 windows11修改右键新建菜单bat脚本 支持复原

可以对windows11系统切换右键菜单风格

桌面新建文本,然后将下面代码粘贴进去,然后更改后缀名为bat

双击文件输入“1”回车即可,如果想改回来,以上步骤不便,然后输入“2”回车即可

@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 "HKCUSoftwareClassesCLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}InprocServer32" /f /ve
@taskkill /f /IM explorer.exe
start explorer
exit


:_cmd2
reg delete "HKCUSoftwareClassesCLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
@taskkill /f /IM explorer.exe
start explorer
exit
:_end

 

© 版权声明
THE END
喜欢就支持一下吧
点赞10 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容