Sign in to follow this  
Followers 0
CyberFunk Productions

Run

4 posts in this topic

I'm made a simple program to run internet explorer, but it won't run it, actually, the only thing i can run with the RUN command is notepad, heres my code:

Run("iexplorer", "C:\Program Files\Internet Explorer", @SW_MAXIMIZE)

Is there something wrong with this?

Share this post


Link to post
Share on other sites



Run("C:\Program Files\Internet Explorer\IEXPLORE.EXE", "C:\Program Files\Internet Explorer", @SW_MAXIMIZE)

Share this post


Link to post
Share on other sites

awsome thanx! :D

Share this post


Link to post
Share on other sites

Here's an other possibility:

; Activte Webpage

$Browser = "rundll32 url.dll,FileProtocolHandler"

$URL = "http://www.mvnoordenveld.nl/"

$Launch = "START /MIN " & $Browser & " " & $URL

Run(@ComSpec & " /c " & Chr(34) & $Launch & Chr(34), "", @SW_MAXIMIZE)

(Not my own invention but found it somewhere)

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