c# Change shortcut file icon

c# Change shortcut file icon c# Change shortcut file icon c# change the shortcut file icon c# change the shortcut file icon c# change the shortcut file icon c# change the shortcut file icon c# change the shortcut file icon c# change the shortcut file Icon c# change the shortcut file icon c# change the shortcut file icon c# change the shortcut file icon /// /// Change shortcut file icon /// /// /// public async static void ChangeLinkIcon(string initialSource,string iconLocation) { // initialSource = @”C:\Users\Public\Desktop\WeChat.lnk”; //Get the shortcut path to be changed WshShell shell = new WshShell(); IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(initialSource); //Get the shortcut object shortcut.Description = “This is the modified note information!”; //Modify the note, place the mouse on the icon to prompt to change the text (right-click shortcut note (O)) shortcut.IconLocation = iconLocation;// @”C:\Users\Administrator\Desktop\2.ico”; //The same goes for other properties shortcut.Save(); await Task.Delay(500); Win32API.RefreshDesktop(); }   ffffffffffffffffff test red font.

c# Change shortcut file icon

c# Change shortcut file icon c# Change shortcut file icon c# change the shortcut file icon c# change the shortcut file icon c# change the shortcut file icon c# change the shortcut file icon c# change the shortcut file icon c# change the shortcut file Icon c# change the shortcut file icon c# change the shortcut file icon c# change the shortcut file icon /// /// Change shortcut file icon /// /// /// public async static void ChangeLinkIcon(string initialSource,string iconLocation) { // initialSource = @”C:\Users\Public\Desktop\WeChat.lnk”; //Get the shortcut path to be changed WshShell shell = new WshShell(); IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(initialSource); //Get the shortcut object shortcut.Description = “This is the modified note information!”; //Modify the note, place the mouse on the icon to prompt to change the text (right-click shortcut note (O)) shortcut.IconLocation = iconLocation;// @”C:\Users\Administrator\Desktop\2.ico”; //The same goes for other properties shortcut.Save(); await Task.Delay(500); Win32API.RefreshDesktop(); }   ffffffffffffffffff test red font.

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索