6655087 发表于 2009-1-1 15:07:54

关于从配置文件INI读取参数 运行的问题

$TX1 = iniread("\Deployment.ini","Ago","TX1","")
$TX2 = iniread("\Deployment.ini","Ago","TX2","")
$TX3 = iniread("\Deployment.ini","Ago","TX3","")

Run("$TX1")
Run("$TX2")
Run("$TX3")

配置文件中的参数


TX1=C:\qq.exe
TX2=
TX3=

[ 本帖最后由 6655087 于 2009-1-1 16:54 编辑 ]

6655087 发表于 2009-1-1 15:18:37

怎么运行不了?

大绯狼 发表于 2009-1-1 15:40:29

$TX1 = iniread("Deployment.ini","Ago","TX1","")
$TX2 = iniread("Deployment.ini","Ago","TX2","")
$TX3 = iniread("Deployment.ini","Ago","TX3","")

Run($TX1)
Run($TX2)
Run($TX3)

mo_shaojie 发表于 2010-11-10 15:00:00

如果这个是有参数的呢?那应如何做了?
页: [1]
查看完整版本: 关于从配置文件INI读取参数 运行的问题