Jump to content

Recommended Posts

I'm having a hard time getting it to run an .exe file so that I can start working on the rest of the program. Here is the line that wont work.

Run("Diablo II.exe", "C:\Program Files\Diablo II\")

Then when I try to run it gives me this error. "Error: unable to execute the external program."

"The system cannot find the file specified."

Can someone help me out with theses problems. Thanks.

Link to post
Share on other sites

Hi!

Try this:

Run("C:\Program Files\Diablo II\Diablo II.exe", "C:\Program Files\Diablo II\")

peethebee

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...