Set shell = CreateObject("WScript.Shell") DesktopDir = shell.SpecialFolders("Desktop") Lnk = shell.CreateShortcut(DesktopDir & "\\Shortcut to Notepad.lnk") Lnk.TargetPath = shell.ExpandEnvironmentStrings("%windir%") & "\notepad.exe" Lnk.Save()