创建/下载脚本
下载方法(推荐):Github
根据需求下载"右键菜单切换为Win10.bat"和"右键菜单切换为Win11.bat"即可
创建方法
- 右键创建"右键菜单切换为Win10.bat"
- 然后在内容中添加以下内容
@echo off
@echo start...
@rem 切换回Win10样式
reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
@rem 重启文件管理器
@taskkill /f /im explorer.exe
start explorer.exe
@echo ----------
@echo end
@echo ----------
pause
- 右键创建"右键菜单切换为Win11.bat"文件"
- 然后输入以下内容
@echo off
@echo start...
@rem 切换回默认样式
reg.exe delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /va /f
@rem 重启文件管理器
@taskkill /f /im explorer.exe
start explorer.exe
@echo ----------
@echo end
@echo ----------
pause
使用方法
-
双击"右键菜单切换为Win10.bat"/"右键菜单切换为Win11.bat"文件即可
-
如果有警告弹出,点击’是’即可
-
切换成功后,会自动重启文件管理器
"右键菜单切换为Win11.bat"效果如图所示
"右键菜单切换为Win10.bat"效果如图所示
所需运行环境
无
注意
- Windows 11 系统才需使用
- 所有打开的文件夹会被关闭
- 会清空剪切板中的内容