windows保存reg文件:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*\shell\VSCode]
@=“Open with Code”
“Icon”=“D:\programfiles\VsCode\VsCode1.4\Code.exe”
[HKEY_CLASSES_ROOT*\shell\VSCode\command]
@="“D:\programfiles\VsCode\VsCode1.4\Code.exe” “%1"”
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\VSCode]
@=“Open with Code”
“Icon”=“D:\programfiles\VsCode\VsCode1.4\Code.exe”
[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
@=““D:\programfiles\VsCode\VsCode1.4\Code.exe” “%V””
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode]
@=“Open with Code”
“Icon”=“D:\programfiles\VsCode\VsCode1.4\Code.exe”
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode\command]
@=““D:\programfiles\VsCode\VsCode1.4\Code.exe” “%V””
运行即可