escrima 0 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 post Share on other sites
Administrators Jon 1,207 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 post Share on other sites
escrima 0 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 post Share on other sites
jbreetz 0 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 post Share on other sites
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