使用时请注意更改下方的安装路径,同时特别注意最后一个路径后面加一个斜杠。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellVSCode]
@="Open with VSCode"
"Icon"="C:\Softwares\VSCode\Microsoft VS Code\Code.exe"
[HKEY_CLASSES_ROOT*shellVSCodecommand]
@=""C:\Softwares\VSCode\Microsoft VS Code\Code.exe" "%1""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDirectoryshellVSCode]
@="Open with VSCode"
"Icon"="C:\Softwares\VSCode\Microsoft VS Code\Code.exe"
[HKEY_CLASSES_ROOTDirectoryshellVSCodecommand]
@=""C:\Softwares\VSCode\Microsoft VS Code\Code.exe" "%V""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDirectoryBackgroundshellVSCode]
@="Open with VSCode"
"Icon"="C:\Softwares\VSCode\Microsoft VS Code\Code.exe"
[HKEY_CLASSES_ROOTDirectoryBackgroundshellVSCodecommand]
@=""C:\Softwares\VSCode\Microsoft VS Code\Code.exe" "%V""
效果:
作者:艾孜尔江