如何在网页中打开可执行文件

如何在网页中打开可执行文件

1、创建注册表文件
2、输入以下内容

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\HXGJZ2023]
"URL Protocol"=""

[HKEY_CLASSES_ROOT\HXGJZ2023\DefaultIcon]
@="D:\\JZVR0001\\ArchitectureClientSingle.exe"

[HKEY_CLASSES_ROOT\HXGJZ2023\shell]

[HKEY_CLASSES_ROOT\HXGJZ2023\shell\open]

[HKEY_CLASSES_ROOT\HXGJZ2023\shell\open\command]
@="D:\\JZVR0001\\ArchitectureClientSingle.exe %1"

上述可执行文件路径名根据实际填写,%1代表参数
例如:在浏览器中输入 HXGJZ2023:aaa ,aaa 代表参数
3、保存后双击执行注册表文件

猜你喜欢

转载自blog.csdn.net/weixin_38359813/article/details/130270351