There is no easy way to Pin items to the Start Menu or on the Taskbar, it is by design to prevent programs filling up these locations ( ). However it is possible to script the pinned items.


When you rightclick on an object (shortcut / file) in explorer, you are presented with a context menu. These actions are known as “Shortcut Menu items” or “Verbs” in shell terms. These verbs can be enumerated and executed programmatically.



Example to get all verbs on the Internet Explorer link:


Result from the example above:


When scripting, you basically point out the object , and apply an action(verb):