如何获取软件的安装路径?
RT试了试下面这种办法,win7下貌似可以,xp下无效??$un = "HKEY_CLASSES_ROOT\RubyFile\DefaultIcon"
$str = RegRead($un,"")
$patharray = StringSplit($result,"\")
$len = StringLen($rubypath[$rubypath])
$s = StringLeft($result,StringLen($result)-$len-1)
MsgBox(0,"111","ruby的安装路径是"&$s) $str = RegRead($un,"")
读取注册表的结果是多少? 学习了。。 顶下...新手学习中..
页:
[1]