zhoushunchang

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\VSCode]
@="Open with Code"
"Icon"="E:\\Microsoft VS Code\\Code.exe"

[HKEY_CLASSES_ROOT\*\shell\VSCode\command]
@="\"E:\\Microsoft VS Code\\Code.exe\" \"%1\""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\VSCode]
@="Open with Code"
"Icon"="E:\\Microsoft VS Code\\Code.exe"

[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
@="\"E:\\Microsoft VS Code\\Code.exe\" \"%V\""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode]
@="Open with Code"
"Icon"="E:\\Microsoft VS Code\\Code.exe"

[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode\command]
@="\"E:\\Microsoft VS Code\\Code.exe\" \"%V\""

---------------------------------------------------分界线------------------------------------------------------------------------------

复制分界线往上的信息,在windows内新建文本文件保存且把后缀的.txt 改为.bat 文件。

执行注册表文件,再看下鼠标右键有没有open with code 的选项了

 

记录以下,日常遇到的问题。

 

分类:

技术点:

相关文章:

  • 2021-05-31
  • 2022-12-23
  • 2021-08-03
  • 2021-12-14
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-18
  • 2021-12-04
  • 2021-10-19
  • 2021-04-09
  • 2021-03-30
  • 2022-01-09
  • 2021-08-02
相关资源
相似解决方案