Asterisco Posted November 7, 2004 Posted November 7, 2004 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 scriptWhy?Can i help me?ThanxP.S.Sorry,i'm italian i speak a little english !!!
Nologic Posted November 7, 2004 Posted November 7, 2004 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"
lilweirddude Posted November 7, 2004 Posted November 7, 2004 you dont open .exe files with autoitits probably an exe compiled from an autoit script (au3)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now