C:\ProgramData\Microsoft\Windows\Start Menu
我在“所有用户”开始菜单 ( )中创建快捷方式时遇到问题。
Set wsc = WScript.CreateObject("WScript.Shell")
Set lnk = wsc.CreateShortcut("C:\ProgramData\Microsoft\Windows\Start Menu\My app.LNK")
lnk.targetpath = "C:\Program Files\my app\my app.exe"
lnk.workingdirectory = "C:\Program Files\my app"
lnk.save