W
WhytheQ
I know how to add a target path to a created shortcut:
Dim WSHShell As Object
Dim MyShortcut As Object
Set WSHShell = CreateObject("WScript.Shell")
Set MyShortcut = WSHShell.CreateShortcut(pathwayhere & ".lnk")
With MyShortcut
.targetpath = targetpathwayhere
.Save
End With
.........but if I already have a created shortcut then how do I extract
the target pathway from it, as a string??
any help greatly appreciated
Jason.
Dim WSHShell As Object
Dim MyShortcut As Object
Set WSHShell = CreateObject("WScript.Shell")
Set MyShortcut = WSHShell.CreateShortcut(pathwayhere & ".lnk")
With MyShortcut
.targetpath = targetpathwayhere
.Save
End With
.........but if I already have a created shortcut then how do I extract
the target pathway from it, as a string??
any help greatly appreciated
Jason.