日期:2014-05-17 浏览次数:20947 次
WindowsShortcut.Shortcut sc = new WindowsShortcut.Shortcut(); sc.Path = this.currentDir + "/平台启动器.exe"; sc.WorkingDirectory = this.currentDir; sc.Description = "平台启动器"; string DesktopPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop);//得到桌面文件夹 sc.Save(DesktopPath + "/平台启动器.lnk");