Vs Code 之 实现右键打开文件夹

1.新建名为 vscode.reg 的文件。
2.写入下面内容保存双击

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT*shellVSCode]
@="Open with Code"
"Icon"="D:\Microsoft VS Code\Code.exe"


[HKEY_CLASSES_ROOT*shellVSCodecommand]
@=""D:\Microsoft VS Code\Code.exe" "%1""
    
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryshellVSCode]
@="Open with Code"
"Icon"="D:\Microsoft VS Code\Code.exe"

[HKEY_CLASSES_ROOTDirectoryshellVSCodecommand]
@=""D:\Microsoft VS Code\Code.exe" "%V""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryBackgroundshellVSCode]
@="Open with Code"
"Icon"="D:\Microsoft VS Code\Code.exe"

[HKEY_CLASSES_ROOTDirectoryBackgroundshellVSCodecommand]
@=""D:\Microsoft VS Code\Code.exe" "%V""
原文地址:https://www.cnblogs.com/gongxiansheng/p/12716439.html