Create a Internet shortcut





2
Date Submitted Mon. Jun. 25th, 2007 4:19 AM
Revision 1 of 1
Syntax Master sundaramkumar
Tags VBSCRIPT | wscript
Comments 0 comments
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

 

Comments

There are currently no comments for this snippet.

Voting

Votes Down