您可以使用Interope,在您的项目中引入"Windows Script Host Object Model" COM library。然后运行下面的代码:using System;
using System.Runtime.InteropServices;
using IWshRuntimeLibrary;namespace CreateShortcutCOM {
/// <summary>
/// This class creates a shortcut with COM interoperability
/// </summary>
  class ShortcutDemo {
    [STAThread]
    static void Main(string[] args) {
      // Get the app path and filename
      string app = Environment.CurrentDirectory + @"\CreateShortcutCOM.exe";      try {
        // Create a Windows Script Host Shell class
        IWshShell_Class shell = new IWshShell_ClassClass();
        // Define the shortcut file
        IWshShortcut_Class shortcut = shell.CreateShortcut(app + ".lnk") as IWshShortcut_Class;
        // Set all its properties
        shortcut.Description = "Smart sample of creating shell shortcut";
        shortcut.TargetPath = app;
        shortcut.IconLocation = app + ",0";
        // Save it
        shortcut.Save();
      } 
      catch(COMException ex) {
         Console.WriteLine(ex.Message);
      }
    }
  }
}

解决方案 »

  1.   

    http://expert.csdn.net/Expert/topic/1678/1678627.xml?temp=.5833399
      

  2.   

    随便创建一个文本文件,在其中加入以下内容:
    [InternetShortcut]
    URL=http://www.webdiyer.com
    modified=228928983然后保存为link.url,文件名随便起,但后缀必须是url,然后把它保存到桌面文件夹中即可,我的AspNetPager安装程序就是这么做的。--------------------------------
    AspNetPager 免费分页控件4.2版发布,同时发布最新源代码,欢迎下载:http://www.webdiyer.com
      

  3.   

    [InternetShortcut]
    URL=http://www.webdiyer.com
      

  4.   

    这个很简单,在你制作setup文件的时候,在那个快捷方式中可以有三种快捷方式选择的,分别是桌面,开始菜单,快速菜单。你只要右键--〉创建快捷方式,就可以了TRY IT
      

  5.   

    to:ylc001(白面包青天)
    一般的,只能在客户端浏览器的收藏夹里添加链接、或者是将浏览器首页设置为你的网址,但都要客户点击确认才行。如果能随便在客户系统的任意地方添加文件,岂不都乱套啦?万一给你安装一个木马、超级冲击波,怎么办?
      

  6.   

    to sweet12345(努力就会有希望) :在哪点右建会出现三种快捷方式选择的,分别是桌面,开始菜单,快速菜单
      

  7.   

    加一个快捷方式,用IE命令行+需浏览的网页URl应该就可以了,我就是这么干的。