Skip to content

Instantly share code, notes, and snippets.

@FaltoGH
Created March 3, 2024 13:54
Show Gist options
  • Save FaltoGH/b8285cbb24e351f1de4734c684eb6720 to your computer and use it in GitHub Desktop.
Save FaltoGH/b8285cbb24e351f1de4734c684eb6720 to your computer and use it in GitHub Desktop.
Windows Registry Extension
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\notepad]
@="*/shell/notepad/Edit with notepad"
"Icon"="C:\\Windows\\System32\\notepad.exe"
[HKEY_CLASSES_ROOT\*\shell\notepad\command]
@="C:\\Windows\\System32\\notepad.exe %1"
[HKEY_CLASSES_ROOT\Directory\shell\cmdhere]
@="Directory/shell/cmdhere/Open cmd here"
"Icon"="C:\\Windows\\System32\\cmd.exe"
[HKEY_CLASSES_ROOT\Directory\shell\cmdhere\command]
@="C:\\Windows\\System32\\cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdhere]
@="Directory/Background/shell/cmdhere/Open cmd here"
"Icon"="C:\\Windows\\System32\\cmd.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdhere\command]
@="C:\\Windows\\System32\\cmd.exe /s /k pushd \"%V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment