我尝试了以下脚本,但只能更改“桌面”存储项目的快捷方式属性,但想要更改存储在以下位置的项目:
下面的VBScript:
Set wsc = WScript.CreateObject("WScript.Shell")
Set lnk = wsc.CreateShortcut(wsc.SpecialFolders("Desktop") & "\AE Client.LNK")
lnk.TargetPath = "C:\Program Files\Hyland\Application Enabler\AEClient.exe" \\rrscwpappimg02\Workflow\CWF\AppEnabler\CombinedCWF.xml
lnk.Description = "AE Client"
lnk.WorkingDirectory = "C:\Program Files (x86)\Hyland\Application Enabler\"
lnk.Save