sanjeev18 Posted February 4, 2011 Share Posted February 4, 2011 hey guys i want simple thing that ismy vbscript would open url in my default internet browser like internet shortcut can anyone make it ? Link to comment Share on other sites More sharing options...
CoffeeFiend Posted February 4, 2011 Share Posted February 4, 2011 Option ExplicitDim wshSet wsh=WScript.CreateObject("WScript.Shell")wsh.Run "http://www.google.com"That will open google.com in the default browser. Link to comment Share on other sites More sharing options...
gunsmokingman Posted February 4, 2011 Share Posted February 4, 2011 Or as a single line of vbs scriptCreateObject("WScript.Shell").Run("http://www.google.com") Link to comment Share on other sites More sharing options...
sanjeev18 Posted February 8, 2011 Author Share Posted February 8, 2011 thanks guys it works Link to comment Share on other sites More sharing options...
L33T_420 Posted November 4, 2019 Share Posted November 4, 2019 Can you somehow echo the command? Link to comment Share on other sites More sharing options...
gunsmokingman Posted November 5, 2019 Share Posted November 5, 2019 Cmd promt Echo www.google.com and open google.com Echo Off CLS Color 9F Mode 75, 17 Echo Opening www.google.com ping -n 2 127.0.0.1>nul start www.google.com ping -n 3 127.0.0.1>nul 1 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