放到用户桌面就行了
C:\Documents and Settings\All Users\桌面 (win2K,2003)

解决方案 »

  1.   

    在.net自带的部署中,有一个桌面选项,就可以把快捷方便拖进来。
      

  2.   

    用FileShortcut类~
    FileShortcut fs=new FileShortcut(applicationPath);
    fs.SaveAs(anotherApplicationPath);
      

  3.   

    下面textBox1可以输入远程服务器的,如果在本机可以不要//引用COM组件Windows Script Host Object Model;
    if(textBox1.Text.Length>0)
    { //设置一个快捷方式

    IWshRuntimeLibrary.WshShell shell = new IWshRuntimeLibrary.WshShellClass();
    IWshRuntimeLibrary.IWshShortcut shortcut = (IWshRuntimeLibrary.IWshShortcut)shell.CreateShortcut(@"C:\Documents and Settings\All Users\桌面\Hoten数据导入程序.lnk");
    shortcut.TargetPath = @"\\" + textBox1.Text + @"\eport\help\Import2Oracle.exe";
    //shortcut.Arguments = "c:\\a.txt";

    shortcut.Description = "Hoten数据导入程序";
    shortcut.Hotkey = "CTRL+SHIFT+N";
    shortcut.IconLocation = @"c:\hoten\bin\Sunflower.ico";
    shortcut.Save();
    Application.Exit(); //得到快捷方式属性
    //shortcut = (IWshRuntimeLibrary.IWshShortcut)shell.CreateShortcut(@"C:\Documents and Settings\All Users\桌面\Hoten数据导入程序.lnk");
    //MessageBox.Show(shortcut.Description);
    }