wenbao与右键菜单

 

 

 

1. 打开注册表。

2. 找到[HKEY_CLASSES_ROOT\Directory\Background]。

3. 在[Background]下如果没有[shell],则右键-新建项[shell]。

4. 在[shell]下右键-新建项[git_shell],其值为“Git Bash Here"。

5. 在[git_shell]下右键-新建-字符串值[Icon],双击编辑,其值为“D:\Program\Git\git-bash.exe”。

6. 在[git_shell]下右键-新建-项[command],其值为 “D:\Program\Git\git-bash.exe”。

 

7. 在[shell]下右键-新建项[git_gui],其值为“Git GUI Here"。

8. 在[git_gui]下右键-新建-字符串值[Icon],双击编辑,其值为“D:\Program\Git\cmd\git-gui.exe”。

9. 在[git_gui]下右键-新建-项[command],其值为 “D:\Program\Git\cmd\git-gui.exe”。

 

posted @ 2018-04-14 13:41  wenbao  阅读(116)  评论(0编辑  收藏  举报