Jump to content

Error:runing a file


Gordon
 Share

Recommended Posts

how can I get the file to run?

---------------------------

AutoIt Error

---------------------------

Line 12 (File "C:\Documents and Settings\HP_Owner\My Documents\conquer.au3.au3"):

Run ("C:\Conquer 2.0")

Error: Unable to execute the external program.

The system cannot find the file specified.

---------------------------

OK

---------------------------

;heres the script just starting out

; ----------------------------------------------------------------------------

;

; AutoIt Version: 3.1.0

; Author: A.N.Other <myemail@nowhere.com>

;

; Script Function:

; Template AutoIt script.

;

; ----------------------------------------------------------------------------

; Script Start - Add your code below here

; ----------------------------------------------------------------------------

Run ("C:\Conquer 2.0")

Edited by Gordon
Link to comment
Share on other sites

is that where your Game is? also try adding .exe extention.

Run("C:\Conguer 2.0.exe")
I figured it out thanx tough heres what I messed up on

Run( "Conquer 2.0\play" , "" , @SW_MAXIMIZE )

I forgot to link the play file in co folder :P

Edited by Gordon
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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