【发布时间】:2019-10-11 20:55:29
【问题描述】:
我正在尝试执行 IF ProcessExist。
在我的 win 10 64 位计算机上它可以工作,但是当我在其他 PC 上使用 win 7 或什至使用 win 10 执行时。它不执行。
#AutoIt3Wrapper_UseX64=N
If ProcessExists ("program.exe") Then
MsgBox ("", "Hold", "Test", 10)
Exit
Else
#RequireAdmin
Run(@ComSpec & " /c " & "C:\folder\file.bat", "", @SW_HIDE)
EndIf
继续获得好像 program.exe 存在,但它不存在。
【问题讨论】:
标签: autoit