I try to create a VBS installer that creates a shortcut of a Windows 10 APP on the desktop. However after hours of trying I can't seem to make it work.
This is my current script.
With CreateObject("WScript.Shell")
With .CreateShortcut(.SpecialFolders("Desktop") & "\Todoist To-Do List and Task Manager.lnk")
.TargetPath = "shell:AppsFolder" & "\Todoist To-Do List and Task Manager"
.Description = "Todoist To-Do List and Task Manager"
.Save
End With
End With
The name of the program I want to create a shortcut for is "Todoist To-Do List and Task Manager"
I think the main problem is the Target Path. But I can't seem to find out how to point to a file inside a special folder. The special folder CLSID = {4234d49b-0245-4df3-b780-3893943456e1}. How do I point to a file in that folder?
Thanks a lot in advance,
Greetings,
Rick,