我正在尝试使用 实现自定义 URI 方案HKCU (HKEY_CURRENT_USER)
,但无法使其在 Internet Explorer 上运行。我在它下面创建了一个键HKCU\Software\Classes
来执行cmd.exe
。它在 Chrome 中工作,但是当我尝试在 IE 中调用我的自定义 URI 时,我收到此错误:
unable to open this helper application the protocol specified in this address is not valid custom uri
如果我尝试在我的 Windows 注册表中重命名cmd.exe
并{anything_else}.exe
更新它,它可以工作。有什么方法可以在 IEcmd
下使用自定义 URI执行?HKCU