Windows 11右键菜单改回Windows 10风格 & 右键菜单加入vscode

内容分享1个月前发布
0 0 0

经典右键菜单

  • 打开Windows Terminal(管理员) 输入
    reg add "HKCUSoftwareClassesCLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}InprocServer32" /f /ve

  • win+E打开资源管理器

  • Ctrl+Shift+Esc 重启资源管理器

右键菜单加入vscode

  • 新建 vscode.reg 文件
  • 加入以下内容(vscode路径替换为自己安装路径)

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT*shellVSCode]
@="Open with Code"
"Icon"="C:\Users\vscode\Code.exe"

[HKEY_CLASSES_ROOT*shellVSCodecommand]
@=""C:\Users\vscode\Code.exe" "%1""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryshellVSCode]="open with Code”
@="Open with Code"
"Icon"="C:\Users\vscode\Code.exe"

[HKEY_CLASSES_ROOTDirectoryshellVSCodecommand]
@=""C:\Users\vscode\Code.exe" "%V""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryBackgroundshellVSCode]
@="Open with Code"
"Icon"="C:\Users\vscode\Code.exe"

[HKEY_CLASSES_ROOTDirectoryBackgroundshellVSCodecommand]
@=""C:\Users\vscode\Code.exe" "%V""

  • 双击运行后重启资源管理器
© 版权声明

相关文章

暂无评论

您必须登录才能参与评论!
立即登录
none
暂无评论...