Create an Internet shortcut

To create a shortcut to an url you can do as follows

set oUrlLink = WshShell.CreateShortcut(strDesktop & "\Microsoft Web Site.url")
oUrlLink.TargetPath = "http://www.yahoo.com"
oUrlLink.Save

2 Replies to “Create an Internet shortcut”

Leave a Reply

Your email address will not be published. Required fields are marked *