hey guys i want simple thing that is
my vbscript would open url in my default internet browser like internet shortcut can anyone make it ?
Page 1 of 1
opening url from vbscript
#2
Posted 04 February 2011 - 01:43 AM
Option Explicit
Dim wsh
Set wsh=WScript.CreateObject("WScript.Shell")
wsh.Run "http://www.google.com"
That will open google.com in the default browser.
#3
Posted 04 February 2011 - 01:52 PM
Or as a single line of vbs script
CreateObject("WScript.Shell").Run("http://www.google.com")
- ← Need help with Autoit running cmd files
- Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
- executing multiple files from vbscript →
Share this topic:
Page 1 of 1



Help
Back to top









