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).
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