Click here to Skip to main content
15,895,084 members
Articles / Programming Languages / C#

Edit shortcuts .lnk properties with C#

Rate me:
Please Sign up or sign in to vote.
4.25/5 (7 votes)
23 Nov 2009CPOL 39.6K   10  
This trick will allow you to edit shortcut properties in Windows.Add Windows Script Host Object Model reference under the COM tab. To do that, right click on References in Solution Explorer and then Add Reference. Insert the using statement: using IWshRuntimeLibrary; Here is the sample

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Junior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions