Skip to content

Instantly share code, notes, and snippets.

@yipo
Created February 25, 2013 18:19
Show Gist options
  • Save yipo/5031992 to your computer and use it in GitHub Desktop.
Save yipo/5031992 to your computer and use it in GitHub Desktop.
To execute the command `make` or `make clean` via the context menu of the Windows shell. (Note: You must have `make' command in your environment at first.)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\make]
@="make"
"Icon"="shell32.dll,2"
[HKEY_CLASSES_ROOT\Directory\Background\shell\make\command]
@="cmd.exe /c make"
[HKEY_CLASSES_ROOT\Directory\Background\shell\make_clean]
@="make clean"
"Icon"="shell32.dll,2"
[HKEY_CLASSES_ROOT\Directory\Background\shell\make_clean\command]
@="cmd.exe /c make clean"
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\make]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\make_clean]
@yipo
Copy link
Author

yipo commented Aug 2, 2016

Related context menu registry keys: Stack Overflow -- How add context menu item to Windows Explorer for folders (thx Kai-yuan Cheng)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment