Skip to content
This repository was archived by the owner on Aug 17, 2021. It is now read-only.

dobefore/rlnk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rlnk

crates.io API

Usage

Add this to your Cargo.toml:

[dependencies]
rlnk = "0.1.7"

example code

use rlnk::ShellLink;
let target=r"C:\Users\Admin\Desktop\new aa\qiuqiu.exe";
let lnk=r"C:\Users\Admin\Desktop\qiuqiu.lnk";
let mut sl=ShellLink::new();
sl.create_lnk(target,lnk); 

How it works

Shortcut.exe as an external exec_file which should be written to Windows Temp directory is executed with parameters to create windows shortcuts.

About

rust wrapper for creating windows shortcut(lnk files)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages