// 需要将code.exe路径换成正确路径
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\shell\VSCode]
@="Open with Code""Icon"="D:\\Program Files\\Vscode\\Code.exe"[HKEY_CLASSES_ROOT\*\shell\VSCode\command]
@="\"D:\\Program Files\\Vscode\\Code.exe\" \"%1\""
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Directory\shell\VSCode]
@="Open with Code""Icon"="D:\\Program Files\\Vscode\\Code.exe"[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
@="\"D:\\Program Files\\Vscode\\Code.exe\" \"%V\""
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode]
@="Open with Code""Icon"="D:\\Program Files\\Vscode\\Code.exe"[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode\command]
@="\"D:\\Program Files\\Vscode\\Code.exe\" \"%V\""
将vscode加入右键菜单要将vscode加入右键菜单需要将一些配置写入注册表桌面新建一个txt文件,将以下内容拷入该文本中// 需要将code.exe路径换成正确路径Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\shell\VSCode]@="Open with Code""Icon"="D:\\Program Files\\Vscode\\Code.exe"[HKEY_CLASSES_ROOT\*\shell\V