美文网首页
windows 添加右键菜单项

windows 添加右键菜单项

作者: fck_13 | 来源:发表于2020-07-09 16:20 被阅读0次

git bash为例:

保存下列内容到gitbash.reg中,然后双击运行

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Git Bash Here]
"Icon"="C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Git Bash Here\command]
@="C:\\Program Files\\Git\\bin\\bash.exe"

这样就可以添加右键菜单项了。

如果你想添加其他的右键菜单项,只需将上面的图标地址和可执行程序地址改掉。

相关文章

网友评论

      本文标题:windows 添加右键菜单项

      本文链接:https://www.haomeiwen.com/subject/dzrscktx.html