软讯网络 > 软件时空 > 软件相关 > 怎样得到一个应用程序如Outlook的路径?
【标 题】:怎样得到一个应用程序如Outlook的路径?
【关键字】:
Outlook
【来 源】:http://www.cublog.cn/u/16747/showart.php?id=109403
怎样得到一个应用程序如Outlook的路径?
可用RegistryGet()函数从系统注册表中获得。具体用法如下:
li_return = RegistryGet (“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows &
\CurrentVersion\App Paths\MSIMN.EXE”,“Path" , ls_outlook_path )
执行此脚本后,Outlook的路径将保存在string型变量ls_outlook_path中。