Sign in to follow this  
Followers 0
Vegar

RUN? WTF?

5 posts in this topic

Hello

the "run" comman .. is not that the same as when you push "start" and go to "run" ....

because i just made this simple litle script to start mozilla firefox and it does not work!!!!!!

Run ("firefox.exe")

but when i start it .. notthing happends!!

...........

so what is wrong .... or what comand do i use so it would work???

Share this post


Link to post
Share on other sites



WTF? Try including the path to the program.

Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe")

-or-

ShellExecute("firefox.exe")

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe", @ProgramFilesDir & "\Mozilla Firefox\")

Edited by Dampe

Share this post


Link to post
Share on other sites

U can do that, or just use the embed explorer.

IE:

IE$ = ObjCreate("Shell.Explorer.2")
$IE.navigate ("Google.com")

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Run() doesn't appear to include the path.

ShellExecute() on the other hand does seem to do that.

Sooo...

ShellExecute("firefox.exe")
Edited by duckling78

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