Skip to content

Instantly share code, notes, and snippets.

@PatrickMcDonald
Created October 10, 2013 14:30
Show Gist options
  • Save PatrickMcDonald/6919325 to your computer and use it in GitHub Desktop.
Save PatrickMcDonald/6919325 to your computer and use it in GitHub Desktop.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\dllfile\shell\register]
@="Register"
[HKEY_CLASSES_ROOT\dllfile\shell\register\command]
@="\"c:\\windows\\system32\\regsvr32.exe\" \"%1\""
[HKEY_CLASSES_ROOT\dllfile\shell\unregister]
@="Unregister"
[HKEY_CLASSES_ROOT\dllfile\shell\unregister\command]
@="\"c:\\windows\\system32\\regsvr32.exe\" /u \"%1\""
[HKEY_CLASSES_ROOT\ocxfile\shell\register]
@="Register"
[HKEY_CLASSES_ROOT\ocxfile\shell\register\command]
@="\"c:\\windows\\system32\\regsvr32.exe\" \"%1\""
[HKEY_CLASSES_ROOT\ocxfile\shell\unregister]
@="Unregister"
[HKEY_CLASSES_ROOT\ocxfile\shell\unregister\command]
@="\"c:\\windows\\system32\\regsvr32.exe\" /u \"%1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment