Parameters with custom url protocol

Viewed 189

I have a parameter problem with a url protocol, what happens is that doing tests I wanted to make an html that when pressing a button an application will be executed locally, it works well by putting programs from the regedit but I cannot put a program as an argument, so i made a bat
start %1
which works well in the command line but when it is run in chrome it does not run as
start "notepad.exe"
but as
start "test:notepad.exe
which does not work

some solution or alternative?

.reg
Windows Registry Editor Version 5.00

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

[HKEY_CLASSES_ROOT\test\shell]

[HKEY_CLASSES_ROOT\test\shell\open]

[HKEY_CLASSES_ROOT\test\shell\open\command]
@="\"C:\executor.bat\" \"%1\""

if there are grammatical errors it is because I am using translator...

0 Answers
Related