Extracting target path from Windows shortcut (.lnk) file

46 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Jurgens Wolfaardt
Jurgens Wolfaardt el 13 de Dic. de 2019

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by