修改注册表,添加鼠标右键
选择文件
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellVSCode]
@="Open with Code"
"Icon"="D:\VSCode\Code.exe"
[HKEY_CLASSES_ROOT*shellVSCodecommand]
@=""D:\VSCode\Code.exe" "%1""
选择目录
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDirectoryshellVSCode]
@="Open with Code"
"Icon"="D:\VSCode\Code.exe"
[HKEY_CLASSES_ROOTDirectoryshellVSCodecommand]
@=""D:\VSCode\Code.exe" "%V""
目录空白处
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDirectoryBackgroundshellVSCode]
@="Open with Code"
"Icon"="D:\VSCode\Code.exe"
[HKEY_CLASSES_ROOTDirectoryBackgroundshellVSCodecommand]
@=""D:\VSCode\Code.exe" "%V""
Atom的类似
文件
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellAtom]
@="Open with Atom"
"Icon"=""C:\Users\Administrator\AppData\Local\atom\app.ico""
[HKEY_CLASSES_ROOT*shellAtomcommand]
@=""C:\Users\Administrator\AppData\Local\atom\app-1.11.1\atom.exe" "%1""
目录
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDirectoryshellAtom]
@="Open with Atom"
"Icon"=""C:\Users\Administrator\AppData\Local\atom\app.ico""
[HKEY_CLASSES_ROOTDirectoryshellAtomcommand]
@=""C:\Users\Administrator\AppData\Local\atom\app-1.11.1\atom.exe" "%1""
目录空白处
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDirectoryBackgroundshellAtom]
@="Open with Atom"
"Icon"=""C:\Users\Administrator\AppData\Local\atom\app.ico""
[HKEY_CLASSES_ROOTDirectoryBackgroundshellAtomcommand]
@=""C:\Users\Administrator\AppData\Local\atom\app-1.11.1\atom.exe" "%V""