lnk 0.2.1

Parsing Shell Link files (.lnk).

To use this package, put the following dependency into your project's dependencies section:


This package provides sub packages which can be used individually:

lnk:readlnk - A minimal D application.


D library for parsing Shell Link files (.lnk aka shortcuts).

Build Status

No IShellLink COM interface is used. Instead the library implements parsing of .lnk files itself according to Shell Link Binary File Format specification.

Using of WinAPI is minimized too, so the library can be used on other platforms than Windows (Although there's little sense for it).

Note: it's not fully implemented yet.



Run to parse .lnk file and print results to stdout:

dub run lnk:readlnk -- somelink.lnk

Note that running this in cmd.exe console may print garbage characters if link's target has unicode characters in its name. So it's better to redirect output to file.

dub run lnk:readlnk -- somelink.lnk > test.txt

Authors:Roman Chistokhodov

Sub packages:lnk:readlnk

Dependencies: none

0.2.1 2016-Sep-26
0.2.0 2016-Mar-16
0.1.1 2016-Mar-14
0.1.0 2016-Mar-13
~master 2017-Feb-03
Show all 5 versions

statistics are temporarily disabled.