Skip to content

rustysec/parselnk-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parselnk

Build Status Documentation

Parse Windows .lnk files in pure Rust!

Usage

In your Cargo.toml:

From crates.io:

[dependencies]
parselnk = "0.1"

To use master branch:

[dependencies]
parselnk = { git = "https://github.com/rustysec/parselnk-rs" }

In your code:

let lnk_path = std::path::Path::new(r"c:\users\me\desktop\slack.lnk");
let lnk = parselnk::Lnk::from(lnk_path).unwrap();

println!("Lnk relative path: {:?}", lnk.relative_path());

Features

These features are enabled by default and can be toggled off by specifying default-features = false in your Cargo.toml:

# Disable optional features
[dependencies]
parselnk = { version = "0.1", default-features = false }
  • chrono - exposes convenience methods for parsing windows FileTime structures

Helping Out

Issues and pull requests are welcome!

About

Parse windows lnk files in pure Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages