Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting Desktop URL Shortcut's Icon

Status
Not open for further replies.

jamiehill

Programmer
Oct 22, 2002
6
GB
I'm wishing to send a group email that will install a shortcut to the company website with a defined icon, on employees desktops. I'm currently using VBScript to create the shortcut:

Set WshShell = CreateObject("WScript.Shell")
strDesktopPath = WshShell.SpecialFolders("Desktop")
Set objShortcutUrl = WshShell.CreateShortcut(strDesktopPath & "\Virtual Agency.url")
objShortcutUrl.TargetPath = "objShortcutUrl.Save

But how can I embed deploy the appropriate icon and set the shortcut to use this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top