Skip to content

Instantly share code, notes, and snippets.

@Erim32
Created August 13, 2023 12:03
Show Gist options
  • Save Erim32/1d3c8d48b73449d059246d741eaab4dc to your computer and use it in GitHub Desktop.
Save Erim32/1d3c8d48b73449d059246d741eaab4dc to your computer and use it in GitHub Desktop.
Scripts to add Git Fork software to windows contextual menu to open a respository. ( english and french version)
Windows Registry Editor Version 5.00
; english version
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\shell\gitfork]
@="Open with Git Fork"
"Icon"="\"C:\\Users\\Remi\\AppData\\Local\\Fork\\Fork.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\gitfork\command]
@="\"C:\\Users\\Remi\\AppData\\Local\\Fork\\Fork.exe\" \"%1\""
; This will make it appear when you right click INSIDE a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\Background\shell\gitfork]
@="Open with Git Fork"
"Icon"="\"C:\\Users\\Remi\\AppData\\Local\\Fork\\Fork.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\gitfork\command]
@="\"C:\\Users\\Remi\\AppData\\Local\\Fork\\Fork.exe\" \"%V\""
Windows Registry Editor Version 5.00
; french version
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\shell\gitfork]
@="Ouvrir avec Git Fork"
"Icon"="\"C:\\Users\\Remi\\AppData\\Local\\Fork\\Fork.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\gitfork\command]
@="\"C:\\Users\\Remi\\AppData\\Local\\Fork\\Fork.exe\" \"%1\""
; This will make it appear when you right click INSIDE a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\Background\shell\gitfork]
@="Ouvrir avec Git Fork"
"Icon"="\"C:\\Users\\Remi\\AppData\\Local\\Fork\\Fork.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\gitfork\command]
@="\"C:\\Users\\Remi\\AppData\\Local\\Fork\\Fork.exe\" \"%V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment