Dim wsh As object = CreateObject("WScript.Shell")
Dim PathLink As String = "快捷方式全路径"
If Not PathLink.ToLower.EndsWith(".lnk") Then
PathLink = PathLink & ".lnk"
End If
Dim wshs As object = wsh.CreateShortcut(PathLink)
wshs.TargetPath = "新的目标指向"
wshs.Save()
wshs = Nothing
wsh = Nothing
[此贴子已经被作者于2015/10/3 22:36:59编辑过]