I'm new to using AutoIT, and I was wondering how I can open an AS/400 window on an XP SP2 machine (English Version). When trying to open either the AS/400 window or the SAP window I get the following error message: Line 25 (File "C:\Program Files\AutoIt3\Examples\Test\Test.au3"): Run("zeridata.sap","C:\Users\marshsep\Desktop") Error: Unable to execute the external program. The system cannot find the file specified." $answer = MsgBox(4, "AutoIt Test", "This is a test script. Run?")
; Check the user's answer to the prompt (see the help file for MsgBox return values)
; If "No" was clicked (7) then exit the script
If $answer = 7 Then
MsgBox(0, "AutoIt", "OK. Bye!")
Exit
EndIf
; Run IAS
Run("ZERIDATA.sap","C:\Users\marshsep\Desktop") ; Prompt the user to run the script - use a Yes/No prompt (4 - see help file)
$answer = MsgBox(4, "AutoIt Test", "This is a test script. Run?")
; Check the user's answer to the prompt (see the help file for MsgBox return values)
; If "No" was clicked (7) then exit the script
If $answer = 7 Then
MsgBox(0, "AutoIt", "OK. Bye!")
Exit
EndIf
; Run IAS
Run("ias.wda","C:\Program Files\WallData\") Please let me know if I need to provide any more information. I greatly appreciate any help available. Thank you.