win11右键改回win10风格,win10右键改回win11风格,不用重启
新建文本文档,复制下面的代码,保存,改后缀为cmd。
运行后,1是win10,2是win11。
@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
运行界面如下: