摘要:
添加引用 (com->Windows Script Host Object Model)/*说明:快捷方式创建时如果存在同名的快捷方式则会覆盖之前的快捷方式*/using IWshRuntimeLibrary; private static void CreateDesktopLnk() { string DesktopPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop);//得到桌面文件夹 IWshRuntimeLibrary.WshShell shell = new IWsh 阅读全文