Jump to content
Sign in to follow this  
Axufuris

Run() From dir

Recommended Posts

Axufuris

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
smashly

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

Share this post


Link to post
Share on other sites
Richard Robertson

~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
smashly

~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
Axufuris

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.