Sign in to follow this  
Followers 0
Axufuris

Run() From dir

5 posts in this topic

I was wondering if anyone knows how to run from a dir. I tried Run("Eve.exe", "C:\Program Files\CCP\EVE\") but its not working

Share this post


Link to post
Share on other sites



Run("C:\Program Files\CCP\EVE\Eve.exe")

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

~sigh~

Why do so many people not get this?

Run("C:\Program Files\CCP\EVE\Eve.exe", "C:\Program Files\CCP\EVE")

The second parameter is the working directory, not the directory to look for the executable in.

Edit: smashly posted too...

Edited by Richard Robertson

Share this post


Link to post
Share on other sites

~sigh~

Why do so many people not get this?

Run("C:\Program Files\CCP\EVE\Eve.exe", "C:\Program Files\CCP\EVE")

The second parameter is the working directory, not the directory to look for the executable in.

Edit: smashly posted too...

I think it's the way the help file states the first parameter

filename: The name of the executable (EXE, BAT, COM, or PIF) to run.

Maybe if it said "filename: Path ending with the filename to run"

Or something like that...

Cheers

Share this post


Link to post
Share on other sites

thanks guys appreciate it, I have been working nonstop all day on this and have gotten pretty far except for a few problems.

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