How Do I Modify An Application Shortcut with C# In The Start Menu All Programs And Desktop Area
Posted on 2008-06-19
II need to be able to modify the properties of an application shortcut which exists under the Start Menu\All Programs area and Desktop. At the present time I have to write an installation script in Wise Package Studio to do this by deleting and recreating it. However, I would rather do this in C# so I can have more flexibility. What I am looking for is a sample of C# code that will be able to read the properties you typicall would see in the Applicatin Shortcut's Properties Window under the General Tab, Shortcut Tab, and Compatibility Tab. I am looking for a solution that works in both Windows XP SP 2 and Vista.
The specific task I would like to do is to change the displayed title of the shortcut, description, and comment.
Thanks in advance.