Skip to content

Instantly share code, notes, and snippets.

@dogancelik
Last active November 5, 2020 01:38
Show Gist options
  • Save dogancelik/293acc5eb4c747355d6d to your computer and use it in GitHub Desktop.
Save dogancelik/293acc5eb4c747355d6d to your computer and use it in GitHub Desktop.
Original "Edit" regfile for .CMD and .BAT #Windows
Windows Registry Editor Version 5.00
; %SystemRoot%\System32\NOTEPAD.EXE %1
[HKEY_CLASSES_ROOT\cmdfile\shell\edit\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
[HKEY_CLASSES_ROOT\batfile\shell\edit\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment