ReadShortcut

Function ReadShortcut(lnkpath:String)

lnkpath: The path to a shortcut file. If the file extension ".lnk" is not included, it will be done appended automatically

This function reads a shortcut file and stores the results in the lnk type.

Example: (For a full example, see lnk_example.bb)

Include "lnk.bb"

ReadShortcut("My Shortcut.lnk")
RuntimeError("Path is " + lnk\lTargetPath$)

ReadShortcut("My Shortcut (2).lnk")
RuntimeError("Path is " + lnk\lTargetPath$)