String DK = system.environment.getFolderPath (System.Environment.SpecialFolder.Desktop); // Get a desktop folder
Iwshruntimelibrary.wshshell shell = new iWshruntimelibrary.wshshellclass ();
Iwshruntimelibrary.iwshshshstimalbutcut = (iWshruntiMelibrary.iwshshstcut) shell.createshortcut (@ DK "
//a.lnk ");
Shortcut.targetPath = @ "c: / program files / Internet explorer / ipplore.exe";
Shortcut.Arguments = "
http:// localhost / 2005 / bay ";
Shortcut.description = "My Shortcut";
Shortcut.hotkey = "Ctrl Shift N";
Shortcut.iconlocation = "Notepad.exe, 0";
Shortcut.save ();