
Originally Posted by
ihaveaproblem
Hi Callum.
To be honest I don't know. I got given this script by another edugeek user @
Steve21 gave it to me if I remember correctly, so maybe he can help.
Create new "shortcut" to: Code:
"C:\Program Files (x86)\Internet Explorer\iexplore.exe" www.bbc.co.uk
(Obvioulsy changing (x86) if 32bit client, and website to your URL. THen run script as such:
Code:
Dim ObjFolder, ObjFolderItem, colVerbs, objverb, objshell
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace("C:\Users\Steve\Desktop")
Set objFolderItem = objFolder.ParseName("MyShortCut.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
If Replace(objVerb.name, "&", "") = "Pin to Start Menu" Then objVerb.DoIt
Next
WScript.Quit Again obviously editting names etc
Steve