现在电脑系统安装了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
上面的代码,复制保存成bat,运行即可。