Vegar Posted April 15, 2008 Share Posted April 15, 2008 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??? Link to comment Share on other sites More sharing options...
weaponx Posted April 15, 2008 Share Posted April 15, 2008 WTF? Try including the path to the program.Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe")-or-ShellExecute("firefox.exe") Link to comment Share on other sites More sharing options...
Dampe Posted April 15, 2008 Share Posted April 15, 2008 (edited) Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe", @ProgramFilesDir & "\Mozilla Firefox\") Edited April 15, 2008 by Dampe Link to comment Share on other sites More sharing options...
PR3BI Posted April 15, 2008 Share Posted April 15, 2008 U can do that, or just use the embed explorer. IE: IE$ = ObjCreate("Shell.Explorer.2") $IE.navigate ("Google.com") Link to comment Share on other sites More sharing options...
duckling78 Posted April 15, 2008 Share Posted April 15, 2008 (edited) Run() doesn't appear to include the path. ShellExecute() on the other hand does seem to do that. Sooo... ShellExecute("firefox.exe") Edited April 15, 2008 by duckling78 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now