So should your code work as is or do I need to find what should be in place of the ampersand?
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace("C:\Temp")
Set objFolderItem = objFolder.ParseName("Athena.lnk")
set colVerbs = objFolderItem.verbs
for each objVerb...
If the ampersand worked for pinning an exe on the same windows xp machine shouldn't it be the same for a .lnk? I'm using this exact code below on the same windows xp machine and I'm able to pin word, powerpoint, excel....but with their exe not .lnk.
Set objShell =...
If I put something like what I have below to pin a shortcut doesn't put the icon on the start menu. I would like to know if my script is wrong or is there a different script I should be using?
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace("C:\Temp")
Set...
Sorry for being vague...Below is what I'm using to pin an application icon to the start menu of an xp machine. I need to also pin a shortcut to and application that is on an network share.
What needs to run on windows xp
Set objShell = CreateObject("Shell.Application")
Set objFolder =...
I'm working at a school and need to pin certain icons and shortcuts to the start menu. I have the icons figured out but I'm having some trouble pinning a short cut.
Some computers have powerpoint some do not. How can I have my script check if powerpoint is installed pin to the start menu if not installed ignore.
Set objFolder = objShell.Namespace("C:\Program Files (x86)\Microsoft Office\Office14")
Set objFolderItem = objFolder.ParseName("Powerpnt.exe")...
Need to combine a script to pin icons for Windows XP users and Window 7 Users. The same user would be logging into both machines. This is in a school the students have to have a locked down desktop with specific icons in the start menu. The only problem is I need it to work for each machine a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.