找回密码
 加入
搜索
查看: 2222|回复: 1

运行程序加参数问题!

[复制链接]
发表于 2008-6-29 07:57:40 | 显示全部楼层 |阅读模式
$read1 = GUICtrlRead($Input3)
$read2 = GUICtrlRead($Input4)
$read3 = GUICtrlRead($Input5)
Run("D:\Docu.exe","","")



怎么用run执行$read1   $read2   $read3  这3个参数

[ 本帖最后由 qzdisk 于 2008-6-30 07:07 编辑 ]
发表于 2008-6-29 10:09:05 | 显示全部楼层
run执行参数?
是执行exe时加这3个参数吧?先生成个命令串。
$COMSTR="D:\Docu.exe "&read1&" "&read2&" "&read3
Run(@COMSPEC & " /c "&$COMSTR)
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-18 07:01 , Processed in 0.067913 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表