Skip to content

Instantly share code, notes, and snippets.

@claudio4
Created April 4, 2019 20:44
Show Gist options
  • Save claudio4/d9da871626838b347b428f1ceb6fcbe6 to your computer and use it in GitHub Desktop.
Save claudio4/d9da871626838b347b428f1ceb6fcbe6 to your computer and use it in GitHub Desktop.
Share directory with HS (WIndows)
Windows Registry Editor Version 5.00
; Replace C:\\Program Files\\CLI\\hs.exe with the route to your hs binary
[HKEY_CLASSES_ROOT\Directory\shell\hs]
@="Serve folder with HS"
[HKEY_CLASSES_ROOT\Directory\shell\hs\command]
@="\"C:\\Program Files\\CLI\\hs.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\hs]
@="Serve folder with HS"
[HKEY_CLASSES_ROOT\Directory\Background\shell\hs\command]
@="\"C:\\Program Files\\CLI\\hs.exe\" \"%V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment