I want to create a desktop shortcut using this code
Expand|Select|Wrap|Line Numbers
- function MakeShortcut() {
- var WshShell = new ActiveXObject("WScript.Shell");
- strDesktop = WshShell.SpecialFolders("Desktop");
- var oUrlLink = WshShell.CreateShortcut(strDesktop + "\Link to Help Page.url");
- oUrlLink.TargetPath = "http://www.someurl.com";
- oUrlLink.Save();
- }
but please don't say to do it manually