Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Windows Registry Editor Version 5.00
;-----------------------------------
; https://superuser.com/a/1284919/402626
;-----------------------------------
; REMOVE DEFAULT NEW CONTEXT MENU ITEMS
;-----------------------------------
[-HKEY_CLASSES_ROOT\.bmp\ShellNew]
[-HKEY_CLASSES_ROOT\.rtf\ShellNew]
[-HKEY_CLASSES_ROOT\.zip\CompressedFolder\ShellNew]
;-----------------------------------
; ADD CUSTOM NEW CONTEXT MENU ITEMS
;-----------------------------------
[HKEY_CLASSES_ROOT\.ahk]
@="ahk"
[HKEY_CLASSES_ROOT\.ahk\ShellNew]
"FileName"="Template.ahk"
[HKEY_CLASSES_ROOT\ahk]
@="AutoHotkey script"
;-----------------------------------
[HKEY_CLASSES_ROOT\.bat]
@="bat"
[HKEY_CLASSES_ROOT\.bat\ShellNew]
"FileName"="Template.bat"
[HKEY_CLASSES_ROOT\bat]
@="Windows batch file"
;-----------------------------------
[HKEY_CLASSES_ROOT\.css]
@="css"
[HKEY_CLASSES_ROOT\.css\ShellNew]
"FileName"="Template.css"
[HKEY_CLASSES_ROOT\css]
@="Cascading style Sheet"
;-----------------------------------
[HKEY_CLASSES_ROOT\.html]
@="html"
[HKEY_CLASSES_ROOT\.html\ShellNew]
"FileName"="Template.html"
[HKEY_CLASSES_ROOT\html]
@="HTML file"
;-----------------------------------
[HKEY_CLASSES_ROOT\.md]
@="markdown"
[HKEY_CLASSES_ROOT\.md\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\markdown]
@="Markdown file"
;-----------------------------------
[HKEY_CLASSES_ROOT\.ps1]
@="ps1"
[HKEY_CLASSES_ROOT\.ps1\ShellNew]
"FileName"="Template.ps1"
[HKEY_CLASSES_ROOT\ps1]
@="PowerShell script"
;-----------------------------------
[HKEY_CLASSES_ROOT\.py]
@="py"
[HKEY_CLASSES_ROOT\.py\ShellNew]
"FileName"="Template.py"
[HKEY_CLASSES_ROOT\py]
@="Python file"
;-----------------------------------
[HKEY_CLASSES_ROOT\.reg]
@="reg"
[HKEY_CLASSES_ROOT\.reg\ShellNew]
"FileName"="Template.reg"
[HKEY_CLASSES_ROOT\reg]
@="Registry file"
;-----------------------------------
[HKEY_CLASSES_ROOT\.scss]
@="scss"
[HKEY_CLASSES_ROOT\.scss\ShellNew]
"FileName"="Template.scss"
[HKEY_CLASSES_ROOT\scss]
@="Syntactically Awesome Style Sheet"
;-----------------------------------
[HKEY_CLASSES_ROOT\.txt]
@="txt"
[HKEY_CLASSES_ROOT\.txt\ShellNew]
"FileName"="Template.txt"
[HKEY_CLASSES_ROOT\txt]
@="Text Document"
;-----------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.