Created
November 19, 2017 15:04
-
-
Save cecilemuller/e58ed8c6ade7a7af8b2ab0987bd06636 to your computer and use it in GitHub Desktop.
Windows Registry: filetype icon, name & context menu actions (for Windows 10)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\.myext] | |
[HKEY_CLASSES_ROOT\.myext\OpenWithProgids] | |
"MYAPP.myext"="" | |
[HKEY_CLASSES_ROOT\MYAPP.myext] | |
@="MyApp Example File" | |
[HKEY_CLASSES_ROOT\MYAPP.myext\DefaultIcon] | |
@="C:\\MyApp\\myext.ico" | |
[HKEY_CLASSES_ROOT\MYAPP.myext\shell] | |
[HKEY_CLASSES_ROOT\MYAPP.myext\shell\open] | |
@="Open with MyApp" | |
"Icon"="C:\\MyApp\\open.ico" | |
[HKEY_CLASSES_ROOT\MYAPP.myext\shell\open\command] | |
@="\"C:\\MyApp\\cli.cmd\" \"open\" \"%1\"" | |
[HKEY_CLASSES_ROOT\MYAPP.myext\shell\myaction] | |
@="Secondary action with MyApp" | |
"Icon"="C:\\MyApp\\myaction.ico" | |
[HKEY_CLASSES_ROOT\MYAPP.myext\shell\myaction\command] | |
@="\"C:\\MyApp\\cli.cmd\" \"myaction\" \"%1\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment