怎么在AU3加入软件参数
本帖最后由 youwei2 于 2010-1-19 19:23 编辑ToolTip(@CR&" 安装DirectX9请稍等.." & @CR, @DesktopWidth-260, @DesktopHeight-120)
Dim $i, $Drive
For $i = 67 To 90
$Drive = Chr($i)
If FileExists($Drive & ":\" & "Added" & "\" & "DirectX9.exe") Then
Runwait($Drive & ":\" & "Added" & "\" & "DirectX9.exe")
ExitLoop
EndIf
Next
DirectX9.exe怎么加入参数-ai Runwait($Drive & ":\" & "Added" & "\" & "DirectX9.exe-ai") 回复 2# 顽固不化 谢谢 .. 楼主写的不精简。应该精简一下整个代码 Dim $i, $Drive, $file
For $i = 67 To 90
$Drive = Chr($i) & ':'
$file = $Drive & "\Added\DirectX9.exe"
If FileExists($file) Then
ToolTip(@CR & " 安装DirectX9请稍等.." & @CR, @DesktopWidth - 260, @DesktopHeight - 120)
RunWait($file & ' -ai')
ToolTip(@CR & " 安装DirectX9完成!" & @CR, @DesktopWidth - 260, @DesktopHeight - 120)
Sleep(3000)
ExitLoop
EndIf
Next 回复 5# afan 谢谢 初学者的思路都是不够严谨的,我也有同样毛病 楼主用的是天空的DirectX9.
页:
[1]