Sign in to follow this  
Followers 0
Gordon

Error:runing a file

3 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



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

Run("C:\Conguer 2.0.exe")

[size=20]My File Upload[/size]Register at my site and upload.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0