Extracting target path from Windows shortcut (.lnk) file

33 visualizzazioni (ultimi 30 giorni)
Hi All
I have Windows shortcut (.lnk) files that point to text files and I want to give my customer the option of clicking the shortcut file in my GUI, and extract the target path automatically so that the GUI treats the shortcut the same as the target file. This is to avoid tedious copying of files to local folders and/or copy target paths into the GUI.
Is there a reliable way to extract the target path of a shortcut file?
Thanks in advance.

Risposta accettata

Jurgens Wolfaardt
Jurgens Wolfaardt il 13 Dic 2019

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by