GetLnkTargetPath

xiaoxiao2021-03-06  58

Function GetTargetPath (Byval LinkName As String) On Local Error Resume Next Dim Obj As Object Set Obj = CreateObject ("wscript.shell")

Dim Shortcut As Object Set Shortcut = Obj.createshortcut (LinkName) getTargetPath = Shortcut.targetPath Shortcut.save

END FUNCTION

转载请注明原文地址:https://www.9cbs.com/read-113084.html

New Post(0)