找回密码
 加入
搜索
查看: 1944|回复: 2

[AU3基础] 我想知道BAT里面的这段怎样表达,在AUTOIT里面

[复制链接]
发表于 2010-5-28 21:10:38 | 显示全部楼层 |阅读模式
if exist E:\temp\qq.txt goto qq
\\192.168.10.138\qq$\qq\%computername%\vc05.exe
echo 1>E:\temp\qq.txt
:qq
start \\192.168.10.138\qq$\qq\%computername%\bin\qq.exe
goto end
:end
发表于 2010-5-29 09:51:27 | 显示全部楼层
If FileExists("E:\temp\qq.txt") Then
        Run(@ComSpec & ' /c start \\192.168.10.138\qq$\qq\%computername%\bin\qq.exe', "", @SW_HIDE)
Else
        Run(@ComSpec & ' /c start \\192.168.10.138\qq$\qq\%computername%\vc05.exe', "", @SW_HIDE)
EndIf
 楼主| 发表于 2010-5-29 14:33:48 | 显示全部楼层
%computername% 就是这个不能表达,这个是变量来的,
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-9-21 22:16 , Processed in 0.088688 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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