readWindowsShellLink | R Documentation |
Reads a Microsoft Windows Shortcut (.lnk file).
## Default S3 method:
readWindowsShellLink(con, clean=TRUE, verbose=FALSE, ...)
con |
A |
clean |
If |
verbose |
If |
... |
Not used. |
This function is implemented based on the official file format
specification [1].
It is intended to replace readWindowsShortcut
(), which was
written based on reverse engineering (before [1] was made available).
Returns a list
structure.
Henrik Bengtsson
[1] [MS-SHLLINK]: Shell Link (.LNK) Binary File Format, Microsoft Inc.,
September 25, 2009.
readWindowsShortcut
()
filePath
pathname <- system.file("data-ex/HISTORY.LNK", package="R.utils")
lnk <- readWindowsShellLink(pathname)
str(lnk)
str(lnk$pathname)
lnk0 <- readWindowsShortcut(pathname)
str(lnk0$pathname)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.