Extracting target path from Windows shortcut (.lnk) file

45 vues (au cours des 30 derniers jours)
Jurgens Wolfaardt
Jurgens Wolfaardt le 13 Déc 2019
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.

Réponse acceptée

Jurgens Wolfaardt
Jurgens Wolfaardt le 13 Déc 2019

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by