title: How to extract path from Windows shortcut in R?
body: <p>I have a shortcut to a file (or a folder) under Windows, and I would like to resolve the path name under R and use that info to open a file. </p>
  
  <p>The shortcut is called <code>shortcut.lnk</code> and it is placed in my working directory, and the shortcut is directed to another place, say <code>C:\Users\XX\Desktop\something.txt</code></p>
  
  <p>I would like to extract the path name of the shortcut to use that info to open the file, something like: <code>read.table(resolved.link)</code>. I tried <code>Sys.readlink</code>, but it does not work on Windows.</p>