Title: OT Assign Icon in script
Is it possible to assign an icon to a shortcut, to all the computers in the domain via GPO Logon Scripts?

What I have got is this:
set ws = Wscript.CreateObject(“Wscript.Shell”)
dsktop = ws.SpecialFolders(“Desktop”)

Set scut = ws.createShortcut (dsktop & “\shortcut name.lnk”)
scut. TargetPath = “http://enter url here”
scut.Save

Now this is all great and works (creating the Shortcut on the desktop) but I would also like to assign a custom icon is this at all possible?

Thanks,

Aaron Visser

Reply via email to