Extracting target path from Windows shortcut (.lnk) file
    26 views (last 30 days)
  
       Show older comments
    
    Jurgens Wolfaardt
 on 13 Dec 2019
  
    
    
    
    
    Edited: Jurgens Wolfaardt
 on 13 Dec 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.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
				Find more on Environment and Settings in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!