I'm trying to implement a custom URI scheme using HKCU (HKEY_CURRENT_USER)
, but I am unable to make it work on Internet Explorer. I've created a key under HKCU\\Software\\Classes
that just executes cmd.exe
. It works in Chrome but when I try to call my custom URI in IE I get this error:
unable to open this helper application the protocol specified in this address is not valid custom uri
If I try to rename cmd.exe
to {anything_else}.exe
and update it in my Windows registry, it works. Is there any way I can execute cmd
using a custom URI under HKCU
on IE?
解决了创建执行cmd
的.bat
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.