Extracting target path from Windows shortcut (.lnk) file

33 次查看(过去 30 天)
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.

采纳的回答

Jurgens Wolfaardt
Jurgens Wolfaardt 2019-12-13

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by