通过添加注册表来实现调用
新建reg文件
内容如下
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\pacs-url]
@="URL:pacs-url Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\pacs-url\DefaultIcon]
@="E:\\Microsoft VS Code\\Code.exe"//路径
[HKEY_CLASSES_ROOT\pacs-url\Shell]
[HKEY_CLASSES_ROOT\pacs-url\Shell\Open]
[HKEY_CLASSES_ROOT\pacs-url\Shell\Open\command]
@="E:\\Microsoft VS Code\\Code.exe \"%1\""//路径,参数
双击reg文件执行


系统提示以上信息就说明注册表添加成功
页面调用
<!DOCTYPE html>
<html>
<head>
<title>本地唤起.exe文件</title>
</head>
<body>
<a href="pacs-url:parma1">parma1</a>
<a href="pacs-url:parma2">parma2</a>
</body>
</html>
就可以啦!!!