An open API service indexing awesome lists of open source software.

https://github.com/kamadak/winlnk-rb

Library to read Windows Shell Link (shortcut or .lnk) files
https://github.com/kamadak/winlnk-rb

lnk lnk-files parser reader ruby shortcut windows

Last synced: about 1 month ago
JSON representation

Library to read Windows Shell Link (shortcut or .lnk) files

Awesome Lists containing this project

README

          

Library to read Windows Shell Link (shortcut or .lnk) files
-----------------------------------------------------------

This is a library to parse Windows Shell Link (shortcut or .lnk) files
on non-Windows systems.

Installation
------------

With Gem:

# gem install winlnk

From the source:

% rake test

Copy the contents of the lib directory into somewhere you like.

Usage
-----

To read the link target, create an instance and get its path attribute.

link = WinLnk.new("path/to/link.lnk", "the ANSI code page")
p link.path