Skip to content

Windows custom run command

.\my_custom_command.reg

ps1
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\mycustomcommand]
@="URL:mycustomcommand"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\mycustomcommand\shell]

[HKEY_CLASSES_ROOT\mycustomcommand\shell\open]

[HKEY_CLASSES_ROOT\mycustomcommand\shell\open\command]
@="cmd.exe /K \"rez env something -- something\" %V"