Jump to content

Run(. . .) - Error


Delta01
 Share

Recommended Posts

Hi,

I'm trying to use the Run function. However, what ever i try, just won't work.

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

The directory is right, I've tried w/o the directory. I can't get it to open anything, except for scripts that I made.

I know this is a retarded question, but what's wrong?

Link to comment
Share on other sites

Hi,

I'm trying to use the Run function. However, what ever i try, just won't work.

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

The directory is right, I've tried w/o the directory. I can't get it to open anything, except for scripts that I made.

I know this is a retarded question, but what's wrong?

I don't really understand what is not working.

Does this run the Silroad.exe?

If it does what doesn't work after that?

You might want to post some more code or explain your problem a bit more.

My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
Link to comment
Share on other sites

I don't really understand what is not working.

Does this run the Silroad.exe?

If it does what doesn't work after that?

You might want to post some more code or explain your problem a bit more.

It says, "Error: Unable to execute the external program. The system cannot find the file specified."

It can run Notepad and scripts that i have made.

It doesn't launch silkroad at all. More code probably won't help, it's all just gui stuff etc. The problem is that line.

EDIT: Nahuel, that works. Thanks, when i tired that i did

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

But what you said works, thanks

Edited by Delta01
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...