创建应用程序快捷方式

Kri*_*ish 2 c#

可能重复:
如何在C#或.Net中创建应用程序快捷方式(.lnk文件)

我们需要有关如何在c#中创建应用程序快捷方式的帮助#

Jim*_*ark 5

试试这个.

http://vbaccelerator.com/article.asp?id=4301

  private static void configStep_addShortcutToStartupGroup()
    {
            using (ShellLink shortcut = new ShellLink())
            {
                    shortcut.Target = Application.ExecutablePath;
                    shortcut.WorkingDirectory = Path.GetDirectoryName(Application.ExecutablePath);
                    shortcut.Description = "My Shorcut Name Here";
                    shortcut.DisplayMode = ShellLink.LinkDisplayMode.edmNormal;
                    shortcut.Save(
                            STARTUP_SHORTCUT_FILEPATH);
            }
    }
Run Code Online (Sandbox Code Playgroud)

是关于同一主题的CodeProject示例.