Description

Parsing Shell Link files (.lnk).

Package Information

Version0.2.1 (2016-Sep-26)
Repositoryhttps://github.com/FreeSlave/lnk
LicenseBSL-1.0
CopyrightCopyright © 2016, Roman Chistokhodov
AuthorsRoman Chistokhodov
Registered byRoman Chistokhodov
Sub packages
./examples/readlnk/
[directory based sub package]
Dependenciesnone

Installation

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

dub.json
dub.sdl

Readme

LNK

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.

Examples

ReadLnk

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

Available versions

0.2.1 0.2.0 0.1.1 0.1.0 ~master