escrima Posted January 23, 2004 Share Posted January 23, 2004 $site = InputBox ( "Enter site", "Enter the site name:","","",-1,-1,0,0) Run("C:\Program Files\Internet Explorer\Iexplore.exe $site") This doesn't work. I can't find what i'm suppose to put in place so that the $site gets read and does not display "$site". Is there an easier way to do this? sorry this is such a stupid question. Link to comment Share on other sites More sharing options...
Administrators Jon Posted January 23, 2004 Administrators Share Posted January 23, 2004 Run('"C:\Program Files\Internet Explorer\Iexplore.exe"' & " " & $site) Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
escrima Posted January 23, 2004 Author Share Posted January 23, 2004 Run('"C:\Program Files\Internet Explorer\Iexplore.exe"' & " " & $site)THANKS SO MUCH! is there anywhere in the documentation that shows stuff like this so i won't have to bother you guys again? Link to comment Share on other sites More sharing options...
jbreetz Posted January 23, 2004 Share Posted January 23, 2004 If you want to use the default browser, whatever that would be, I would do this Run(RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\shell\open\command","") & " " & $site) JB 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