Jump to content

AutoIt "...file is not recognised..."


Recommended Posts

Posted

Hi,

if i try to open an exe file with AutoIt (for exsample "Outpost.exe") i receive this error :

Error: The executable file is not recognised as a compiled AutoIt script

Why?

Can i help me?

Thanx

P.S.

Sorry,i'm italian i speak a little english !!! :w00t:


Posted

You did use:

Run ( "Outpost.exe" )

Or in some case's:

RunWait ( "Outpost.exe" )

Now if the executable in not in the same place as the script you may need to do some thing like so:

RunWait ( @ScriptDir & "\Outpost\Outpost.exe" )

Which basically means that on the same level as the AutoIt script there is a folder called "Outpost" and with in that folder is a executable called "Outpost.exe"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...