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
- Host: GitHub
- URL: https://github.com/kamadak/winlnk-rb
- Owner: kamadak
- Created: 2017-04-28T11:51:59.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-01-16T12:00:02.000Z (over 5 years ago)
- Last Synced: 2026-03-17T23:47:51.174Z (3 months ago)
- Topics: lnk, lnk-files, parser, reader, ruby, shortcut, windows
- Language: Ruby
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
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