PB中实现打开web或email链接

来源:互联网 发布:淘宝水果不能拒收吗 编辑:程序博客网 时间:2024/05/16 12:03

  if run("explorer.exe "+网址) <> 1 then
    messagebox("提示","URL地址打开失败!")
    return
 end if

 if run("outlook路径"+" / mailurl:mailto:"+"email地址") <> 1 then 
   messagebox("提示","EMAIL打开失败!")
   return
end if

注意中间的空格。