docs.rs failed to build mslnk-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
mslnk-0.1.8
mslnk
Rust implementation to create Windows shortcut (ms shell .lnk)
Usage
Add this to your Cargo.toml:
[]
= "0.1.0"
examole to create lnk
let target = r"C:\Users\Admin\Desktop\qq aa\qiuqiu.exe";
let lnk = r"C:\Users\Admin\Desktop\qq.lnk";
let sl = ShellLink::new(target).unwrap();
sl.create_lnk(lnk).unwrap();
entirely written in rust,no external command. Ispired bylnk-rs for parsing and writing lnk file. microsoft shell lnk doc click here ms-shllink
- more details on linktarget struct ITEMIDLIST
- example instance on ITEMIDLIST see LNKとShell item